[Example/FilterPerformanceProfile] Fix coverity analysis error 1029505
authorWook Song <wook16.song@samsung.com>
Fri, 21 Sep 2018 02:28:22 +0000 (11:28 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Mon, 24 Sep 2018 13:08:03 +0000 (22:08 +0900)
This patch removes logically dead code, which is duplicated by mistake.

Signed-off-by: Wook Song <wook16.song@samsung.com>
nnstreamer_example/example_filter_performance_profile/nnstreamer_example_filter_performance_profile.c

index cd15c98..77ca0eb 100644 (file)
@@ -412,11 +412,6 @@ _set_and_parse_option_info (int argc, char *argv[], nnstrmr_app_context_t * ctx)
   }
   ctx->input_src_height = height;
 
-  if (width == -1) {
-    width = DEFAULT_WIDTH_INPUT_SRC;
-  }
-  ctx->input_src_width = width;
-
   if (framerates == NULL) {
     framerates = g_strndup (DEFAULT_FRAME_RATES_INPUT_SRC,
         strlen (DEFAULT_FRAME_RATES_INPUT_SRC));