]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fluke-dmm/fluke.c
NEWS: Update for upcoming 0.2.2 release.
[libsigrok.git] / hardware / fluke-dmm / fluke.c
index e106a89049294d1af00dfdd4f0502ccbebfea45f..d960228af2d63d11edc3b88269707630cab92155 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
  *
  * Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
  *
@@ -26,7 +26,6 @@
 #include "libsigrok-internal.h"
 #include "fluke-dmm.h"
 
-
 static struct sr_datafeed_analog *handle_qm_18x(const struct sr_dev_inst *sdi,
                char **tokens)
 {
@@ -35,8 +34,6 @@ static struct sr_datafeed_analog *handle_qm_18x(const struct sr_dev_inst *sdi,
        char *e, *u;
        gboolean is_oor;
 
-       (void)sdi;
-
        if (strcmp(tokens[0], "QM") || !tokens[1])
                return NULL;
 
@@ -159,8 +156,6 @@ static struct sr_datafeed_analog *handle_qm_28x(const struct sr_dev_inst *sdi,
        float fvalue;
        char *eptr;
 
-       (void)sdi;
-
        if (!tokens[1])
                return NULL;
 
@@ -536,5 +531,3 @@ SR_PRIV int fluke_receive_data(int fd, int revents, void *cb_data)
 
        return TRUE;
 }
-
-