Commit 56f06e1e9b3b58907371ad7c49c87653958d94f1

Kano 2012-08-04T16:55:55

API remove unused warning in non-GPU compile

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/api.c b/api.c
index 8dcb505..75676ec 100644
--- a/api.c
+++ b/api.c
@@ -176,7 +176,9 @@ static const char *ALIVE = "Alive";
 static const char *REJECTING = "Rejecting";
 static const char *UNKNOWN = "Unknown";
 #define _DYNAMIC "D"
+#ifdef HAVE_OPENCL
 static const char *DYNAMIC = _DYNAMIC;
+#endif
 
 static const char *YES = "Y";
 static const char *NO = "N";