Skip to content

Commit 14c7687

Browse files
committed
Merge pull request kikoso#29 from illarionov/missingReturn
Add missing return statement
2 parents 701dccd + 133ceb7 commit 14c7687

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

StackBlur/jni/blur.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ JNIEXPORT void JNICALL Java_com_enrique_stackblur_NativeBlurProcess_functionToBl
317317
// Lock all images
318318
if ((ret = AndroidBitmap_lockPixels(env, bitmapOut, &pixelsOut)) != 0) {
319319
LOGE("AndroidBitmap_lockPixels() failed ! error=%d", ret);
320+
return;
320321
}
321322

322323
int h = infoOut.height;

0 commit comments

Comments
 (0)