fluke-dmm: Code cleanup.

This cleans up a warning generated by clang's static analyzer.
This commit is contained in:
Bert Vermeulen 2014-10-02 15:00:37 +02:00
parent 65c8d48f14
commit f4d0020ec6
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ static GSList *scan(GSList *options)
if (!conn) if (!conn)
return NULL; return NULL;
devices = NULL;
if (serialcomm) { if (serialcomm) {
/* Use the provided comm specs. */ /* Use the provided comm specs. */
devices = fluke_scan(conn, serialcomm); devices = fluke_scan(conn, serialcomm);