From: Uwe Hermann Date: Sat, 21 Mar 2015 17:43:17 +0000 (+0100) Subject: vc870: Fix a compiler warning. X-Git-Tag: libsigrok-0.4.0~581 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c35276dd92b948d0c8c71bd816a8a75453895e81;p=libsigrok.git vc870: Fix a compiler warning. src/dmm/vc870.c: In function 'flags_valid': src/dmm/vc870.c:380:54: warning: unused parameter 'info' [-Wunused-parameter] static gboolean flags_valid(const struct vc870_info *info) --- diff --git a/src/dmm/vc870.c b/src/dmm/vc870.c index bf02e8e9..0c1de785 100644 --- a/src/dmm/vc870.c +++ b/src/dmm/vc870.c @@ -379,6 +379,8 @@ static void handle_flags(struct sr_datafeed_analog *analog, static gboolean flags_valid(const struct vc870_info *info) { + (void)info; + /* TODO: Implement. */ return TRUE; }