From a3969ff83a094bfb31a7bf6ad35b2ab0298b169b Mon Sep 17 00:00:00 2001 From: Wook Song Date: Fri, 21 Sep 2018 11:33:59 +0900 Subject: [PATCH] [Example/FilterPerformanceProfile] Fix coverity analysis error 1029509 This patch adds an initialization of a structure variable to fix the coverity analysis error 1029509: Uninitialized scalar variable. Signed-off-by: Wook Song --- .../nnstreamer_example_filter_performance_profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 77ca0eb..8001286 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 @@ -963,7 +963,7 @@ _unregister_signals (nnstrmr_app_context_t * ctx) int main (int argc, char *argv[]) { - nnstrmr_app_context_t app_ctx; + nnstrmr_app_context_t app_ctx = {}; gboolean ret; GstBus *bus; guint bus_watch_id; -- 2.7.4