]> sigrok.org Git - libsigrok.git/commitdiff
Fix two small warnings.
authorUwe Hermann <redacted>
Mon, 18 Apr 2011 22:27:29 +0000 (00:27 +0200)
committerUwe Hermann <redacted>
Mon, 18 Apr 2011 22:27:29 +0000 (00:27 +0200)
hardware/demo/demo.c
hardware/openbench-logic-sniffer/ols.c

index 23bc959b08f53129ed17c077ac20cb85a3517dcd..0ebfd271701e99d146752c6d741a9a2973ef2a1f 100644 (file)
@@ -23,6 +23,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <sigrok.h>
+#include <sigrok-internal.h>
 #ifdef _WIN32
 #include <io.h>
 #include <fcntl.h>
index ed40dbbe2a15ac5fc93842cbcd29fe1a61285738..d4d17688c92bf72f298fe03057b857a11fb17630 100644 (file)
@@ -431,7 +431,6 @@ static int hw_init(const char *deviceinfo)
                free(device_names[i]);
        }
 
-hw_init_free_serial_params:
        g_free(serial_params);
 hw_init_free_device_names:
        g_free(device_names);