X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ffluke-dmm%2Ffluke.c;h=d960228af2d63d11edc3b88269707630cab92155;hb=8e2da1a650dade6529668d4b22e906ccec172b17;hp=e106a89049294d1af00dfdd4f0502ccbebfea45f;hpb=919681f0e8b4681b2af64db72abc1945f3b4adb2;p=libsigrok.git diff --git a/hardware/fluke-dmm/fluke.c b/hardware/fluke-dmm/fluke.c index e106a890..d960228a 100644 --- a/hardware/fluke-dmm/fluke.c +++ b/hardware/fluke-dmm/fluke.c @@ -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 * @@ -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; } - -