From 394f54a861b18835e93f5615f8c0c3ebfbd63eee Mon Sep 17 00:00:00 2001 From: Wook Song Date: Fri, 21 Sep 2018 11:28:22 +0900 Subject: [PATCH] [Example/FilterPerformanceProfile] Fix coverity analysis error 1029505 This patch removes logically dead code, which is duplicated by mistake. Signed-off-by: Wook Song --- .../nnstreamer_example_filter_performance_profile.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nnstreamer_example/example_filter_performance_profile/nnstreamer_example_filter_performance_profile.c b/nnstreamer_example/example_filter_performance_profile/nnstreamer_example_filter_performance_profile.c index cd15c98..77ca0eb 100644 --- a/nnstreamer_example/example_filter_performance_profile/nnstreamer_example_filter_performance_profile.c +++ b/nnstreamer_example/example_filter_performance_profile/nnstreamer_example_filter_performance_profile.c @@ -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)); -- 2.7.4