Fix warning

This commit is contained in:
Raphael Assenat 2015-11-16 23:28:38 -05:00
parent e1ef39d940
commit 94d61e80aa
1 changed files with 1 additions and 1 deletions

View File

@ -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) {