heart : remove unused static const variable 58/118158/1 accepted/tizen/common/20170309.175527 accepted/tizen/ivi/20170309.072616 accepted/tizen/mobile/20170309.072528 accepted/tizen/tv/20170309.072545 accepted/tizen/unified/20170310.080531 accepted/tizen/wearable/20170309.072558 submit/tizen/20170309.064503 submit/tizen_unified/20170310.011402
authorKichan Kwon <k_c.kwon@samsung.com>
Thu, 9 Mar 2017 05:00:21 +0000 (14:00 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Thu, 9 Mar 2017 05:02:09 +0000 (14:02 +0900)
- Before gcc6, not used static const variable isn't be warned
- But, gcc6x compiler introduces -Wunused-const-variable with returning error

Change-Id: I85fc2615cf6e6b4b8421e00d3da7fdd8e90b2a05
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/heart/logging.c

index b092273..7878809 100644 (file)
@@ -120,8 +120,6 @@ struct logging_listerner {
        void (*func)(char *data);
 };
 
-static const struct module_ops logging_modules_ops;
-
 static pthread_t logging_sync_thread = 0;
 
 static pthread_t logging_update_thread = 0;