Fix two small warnings.
This commit is contained in:
parent
e519ba8645
commit
4af22da595
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue