Browse Source

Remove harmless warning on win32

Znort 987 14 years ago
parent
commit
8256402a63
1 changed files with 4 additions and 1 deletions
  1. 4 1
      main.c

+ 4 - 1
main.c

@@ -263,7 +263,10 @@ static char datestamp[40];
 static char blocktime[30];
 
 static char *opt_kernel = NULL;
-static char *opt_stderr_cmd = NULL;
+
+#if defined(unix)
+	static char *opt_stderr_cmd = NULL;
+#endif // defined(unix)
 
 enum cl_kernel chosen_kernel;