Skip to content

Commit

Permalink
fix: Fix compiler warning of unused label
Browse files Browse the repository at this point in the history
  • Loading branch information
marktwtn committed Jul 27, 2019
1 parent 1df8614 commit 68f921e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pow_cl.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static bool PoWCL_Context_Initialize(ImplContext *impl_ctx)
PoW_CL_Context *ctx = (PoW_CL_Context *) malloc(sizeof(PoW_CL_Context) *
impl_ctx->num_max_thread);
if (!ctx)
return false;
goto fail;

for (int i = 0; i < impl_ctx->num_max_thread; i++) {
ctx[i].clctx = &_opencl_ctx[i];
Expand Down

0 comments on commit 68f921e

Please sign in to comment.