Commit 8256402a63df1575ad80d33003801442082c3b82

Znort 987 2011-08-15T14:58:36

Remove harmless warning on win32

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/main.c b/main.c
index 3fb380e..68e8dab 100644
--- a/main.c
+++ b/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;