API remove unused warning in non-GPU compile
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";