From: Wook Song Date: Fri, 21 Sep 2018 02:28:22 +0000 (+0900) Subject: [Example/FilterPerformanceProfile] Fix coverity analysis error 1029505 X-Git-Tag: v0.0.2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=394f54a861b18835e93f5615f8c0c3ebfbd63eee;p=platform%2Fupstream%2Fnnstreamer.git [Example/FilterPerformanceProfile] Fix coverity analysis error 1029505 This patch removes logically dead code, which is duplicated by mistake. Signed-off-by: Wook Song --- 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));