Fix two small warnings.

This commit is contained in:
Uwe Hermann 2011-04-19 00:27:29 +02:00
parent e519ba8645
commit 4af22da595
2 changed files with 1 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sigrok.h> #include <sigrok.h>
#include <sigrok-internal.h>
#ifdef _WIN32 #ifdef _WIN32
#include <io.h> #include <io.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -431,7 +431,6 @@ static int hw_init(const char *deviceinfo)
free(device_names[i]); free(device_names[i]);
} }
hw_init_free_serial_params:
g_free(serial_params); g_free(serial_params);
hw_init_free_device_names: hw_init_free_device_names:
g_free(device_names); g_free(device_names);