Skip to content

Commit

Permalink
Fix CID 1393664 (Uninitialized scalar variable)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jun 30, 2018
1 parent c9737c7 commit a95917a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opencl/openclwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ static cl_int pixErodeCL(l_int32 hsize, l_int32 vsize, l_uint32 wpl,
size_t globalThreads[2];
size_t localThreads[2];
cl_mem pixtemp;
cl_int status;
cl_int status = 0;
int gsize;
char isAsymmetric = (MORPH_BC == ASYMMETRIC_MORPH_BC);
l_uint32 rwmask, lwmask;
Expand Down

0 comments on commit a95917a

Please sign in to comment.