Initialize fd to -1.

This commit is contained in:
QC
2014-08-25 20:07:31 +02:00
parent 24e7041604
commit d76571bcaa

View File

@@ -47,7 +47,7 @@ pid_t execute_generator ( char * cmd )
args[2] = g_strdup ( cmd );
args[3] = NULL;
int fd;
int fd = -1;
g_spawn_async_with_pipes ( NULL,
args,
NULL,