Browse Source

API remove unused warning in non-GPU compile

Kano 13 years ago
parent
commit
56f06e1e9b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api.c

+ 2 - 0
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";