Commit 7987476db357af3c0b6670d8ddfcbc1fbfe4b918

Luke Dashjr 2012-04-21T02:47:28

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);