Fix warnings on Windows

fix warnings reported with -Dwarning_level=2 on Windows.
This commit is contained in:
Romain Vimont
2019-11-27 13:39:42 +01:00
parent 06104a701b
commit 8dc11a0286
5 changed files with 8 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ build_cmd(char *cmd, size_t len, const char *const argv[]) {
enum process_result
cmd_execute(const char *path, const char *const argv[], HANDLE *handle) {
(void) path;
STARTUPINFOW si;
PROCESS_INFORMATION pi;
memset(&si, 0, sizeof(si));