From: Bert Vermeulen Date: Tue, 16 Jul 2013 15:17:54 +0000 (+0200) Subject: kecheng-kc-330b: Code cleanup X-Git-Tag: libsigrok-0.2.1~26 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b979d0c9cbf3a697c0ac4b06031ffb18b5f60006;p=libsigrok.git kecheng-kc-330b: Code cleanup --- diff --git a/hardware/kecheng-kc-330b/api.c b/hardware/kecheng-kc-330b/api.c index ded6357e..3b6544ac 100644 --- a/hardware/kecheng-kc-330b/api.c +++ b/hardware/kecheng-kc-330b/api.c @@ -261,7 +261,6 @@ static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi) struct dev_context *devc; GVariant *rational[2]; const uint64_t *si; - int tmp, ret; devc = sdi->priv; switch (key) { diff --git a/hardware/kecheng-kc-330b/protocol.c b/hardware/kecheng-kc-330b/protocol.c index 99936c6c..a3a09514 100644 --- a/hardware/kecheng-kc-330b/protocol.c +++ b/hardware/kecheng-kc-330b/protocol.c @@ -342,5 +342,10 @@ SR_PRIV int kecheng_kc_330b_log_date_time_get(const struct sr_dev_inst *sdi, gboolean *tmp) { + (void)sdi; + (void)tmp; + + /* TODO */ + return SR_OK; }