From c1f3c41babb73dd858ee77fba5b9d6ea90b2d5fd Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 3 Mar 2016 14:23:59 +0300 Subject: [PATCH] apps: add missed 'break' --- apps/annotation/opencv_annotation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/annotation/opencv_annotation.cpp b/apps/annotation/opencv_annotation.cpp index 37dfbae880..96fddea843 100644 --- a/apps/annotation/opencv_annotation.cpp +++ b/apps/annotation/opencv_annotation.cpp @@ -150,6 +150,7 @@ void get_annotations(Mat input_image, stringstream* output_stream) case 27: destroyWindow(window_name); stop = true; + break; case 99: // Add a rectangle to the list num_of_rec++;