fluke-dmm: Code cleanup.
This cleans up a warning generated by clang's static analyzer.
This commit is contained in:
parent
65c8d48f14
commit
f4d0020ec6
|
@ -176,6 +176,7 @@ static GSList *scan(GSList *options)
|
|||
if (!conn)
|
||||
return NULL;
|
||||
|
||||
devices = NULL;
|
||||
if (serialcomm) {
|
||||
/* Use the provided comm specs. */
|
||||
devices = fluke_scan(conn, serialcomm);
|
||||
|
|
Loading…
Reference in New Issue