Fix warning
This commit is contained in:
parent
e1ef39d940
commit
94d61e80aa
|
@ -305,7 +305,7 @@ G_MODULE_EXPORT void update_usbadapter_firmware(GtkWidget *w, gpointer data)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
res = pclose(dfu_fp);
|
res = pclose(dfu_fp);
|
||||||
#ifdef WINDOWS WIFEXITED
|
#ifdef WINDOWS
|
||||||
// Under Mingw, 0 is returned when dfu-programmmer was found
|
// Under Mingw, 0 is returned when dfu-programmmer was found
|
||||||
// and executed. Otherwise 1.
|
// and executed. Otherwise 1.
|
||||||
if (res != 0) {
|
if (res != 0) {
|
||||||
|
|
Loading…
Reference in New Issue