Browse Source

fix compiler warnings

Change-Id: I88f4076c2f7dd044158ecb04a1fc716fb1334397
pull/183/head
Richard Fuchs 10 years ago
parent
commit
1a67331b9a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      daemon/graphite.c
  2. +1
    -1
      daemon/sdp.c

+ 1
- 1
daemon/graphite.c View File

@ -276,7 +276,7 @@ void graphite_loop_run(struct callmaster* callmaster, int seconds) {
ilog(LOG_ERROR,"Sending graphite data failed.");
}
copy_with_lock(&cm->totalstats_lastinterval, &graphite_stats, &cm->totalstats_lastinterval);
copy_with_lock(&cm->totalstats_lastinterval, &graphite_stats, &cm->totalstats_lastinterval.total_average_lock);
}
}


+ 1
- 1
daemon/sdp.c View File

@ -1605,7 +1605,7 @@ static int process_media_attributes(struct sdp_chopper *chop, struct sdp_media *
{
GList *l;
struct sdp_attributes *attrs = &sdp->attributes;
struct sdp_attribute *attr, *a;
struct sdp_attribute *attr /* , *a */;
for (l = attrs->list.head; l; l = l->next) {
attr = l->data;


Loading…
Cancel
Save