]> sigrok.org Git - libsigrok.git/commitdiff
kecheng-kc-330b: Code cleanup
authorBert Vermeulen <redacted>
Tue, 16 Jul 2013 15:17:54 +0000 (17:17 +0200)
committerBert Vermeulen <redacted>
Tue, 16 Jul 2013 15:17:54 +0000 (17:17 +0200)
hardware/kecheng-kc-330b/api.c
hardware/kecheng-kc-330b/protocol.c

index ded6357eaaf46be3d75ae16205829ef440069a7f..3b6544ac028bb87cc4f13ab1d61c24d2fc88dd34 100644 (file)
@@ -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) {
index 99936c6ce570b34a8b87027796b9b909a2539739..a3a09514a419663edb0b423d194d8fa76b797ccf 100644 (file)
@@ -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;
 }