Commit 4cd12aa8e0279dbbbaa9d3acb2e84d0557cf847c

Con Kolivas 2011-07-24T09:04:56

Fix harmless warning.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/ocl.c b/ocl.c
index 4df5cee..30f575c 100644
--- a/ocl.c
+++ b/ocl.c
@@ -353,6 +353,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
 			strcpy(filename, "poclbm110717.cl");
 			strcpy(binaryfilename, "poclbm110717");
 			break;
+		case KL_NONE: /* Shouldn't happen */
 		case KL_PHATK:
 			strcpy(filename, "phatk110722.cl");
 			strcpy(binaryfilename, "phatk110722");