Browse Source

Bugfix: Missing "break" no-op in default case

Luke Dashjr 14 years ago
parent
commit
7987476db3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-opencl.c

+ 1 - 0
driver-opencl.c

@@ -1226,6 +1226,7 @@ static bool opencl_thread_prepare(struct thr_info *thr)
 		case KL_POCLBM:
 		case KL_POCLBM:
 			cgpu->kname = "poclbm";
 			cgpu->kname = "poclbm";
 		default:
 		default:
+			break;
 		}
 		}
 	}
 	}
 	applog(LOG_INFO, "initCl() finished. Found %s", name);
 	applog(LOG_INFO, "initCl() finished. Found %s", name);