src/hardware/fluke-dmm/fluke.c:312:24: warning: implicit conversion from \
enumeration type 'enum sr_unit' to different enumeration type 'enum sr_mq' \
[-Wenum-conversion]
devc->mq = devc->unit = devc->mqflags = 0;
~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
src/hardware/fluke-dmm/fluke.c:312:40: warning: implicit conversion from \
enumeration type 'enum sr_mqflag' to different enumeration type 'enum \
sr_unit' [-Wenum-conversion]
devc->mq = devc->unit = devc->mqflags = 0;
~ ~~~~~~~~~~~~~~^~~
return;
meas_char = strtol(tokens[4], NULL, 10);
- devc->mq = devc->unit = devc->mqflags = 0;
+ devc->mq = 0;
+ devc->unit = 0;
+ devc->mqflags = 0;
+
switch (meas_unit) {
case 1:
devc->mq = SR_MQ_VOLTAGE;