From: Uwe Hermann Date: Mon, 18 Apr 2011 22:27:29 +0000 (+0200) Subject: Fix two small warnings. X-Git-Tag: libsigrok-0.1.0~276 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4af22da5950cf490f2300199dfacd705e1d220b3;p=libsigrok.git Fix two small warnings. --- diff --git a/hardware/demo/demo.c b/hardware/demo/demo.c index 23bc959b..0ebfd271 100644 --- a/hardware/demo/demo.c +++ b/hardware/demo/demo.c @@ -23,6 +23,7 @@ #include #include #include +#include #ifdef _WIN32 #include #include diff --git a/hardware/openbench-logic-sniffer/ols.c b/hardware/openbench-logic-sniffer/ols.c index ed40dbbe..d4d17688 100644 --- a/hardware/openbench-logic-sniffer/ols.c +++ b/hardware/openbench-logic-sniffer/ols.c @@ -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);