Commit a5b05d9c55f0dd4147871a92f382441200e7b4e2

Con Kolivas 2012-04-20T23:48:36

Merge pull request #167 from luke-jr/bugfix_missing_stmt Bugfix: Missing "break" no-op in default case

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/driver-opencl.c b/driver-opencl.c
index e4137d1..b36c9c7 100644
--- a/driver-opencl.c
+++ b/driver-opencl.c
@@ -1226,6 +1226,7 @@ static bool opencl_thread_prepare(struct thr_info *thr)
 		case KL_POCLBM:
 			cgpu->kname = "poclbm";
 		default:
+			break;
 		}
 	}
 	applog(LOG_INFO, "initCl() finished. Found %s", name);