From 1a67331b9a9a9d575ab46f3e73e1ab5e0e7f3a55 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 9 Nov 2015 11:30:59 -0500 Subject: [PATCH] fix compiler warnings Change-Id: I88f4076c2f7dd044158ecb04a1fc716fb1334397 --- daemon/graphite.c | 2 +- daemon/sdp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/graphite.c b/daemon/graphite.c index 69d5b0b4a..2a3b65586 100644 --- a/daemon/graphite.c +++ b/daemon/graphite.c @@ -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); } } diff --git a/daemon/sdp.c b/daemon/sdp.c index 32ad36b57..3be85b735 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -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;