[Coverity 1049998/1050018] Fix useless keyword
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 3 Apr 2019 00:56:23 +0000 (09:56 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 3 Apr 2019 04:17:43 +0000 (13:17 +0900)
const of const gboolean func() is useless.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/nnstreamer/nnstreamer_conf.c
gst/nnstreamer/nnstreamer_conf.h

index dbcba49..b10cdbd 100644 (file)
@@ -377,7 +377,7 @@ nnsconf_get_fullpath (const gchar * subpluginname, nnsconf_type_path type)
 }
 
 /** @brief Public function defined in the header */
-const gboolean
+gboolean
 nnsconf_get_value_bool (nnsconf_type_value type)
 {
   gboolean ret;
index da85c57..22c5f44 100644 (file)
@@ -113,7 +113,7 @@ nnsconf_get_fullpath (const gchar *subpluginname, nnsconf_type_path type);
  * @return The boolean value to the file. Caller MUST NOT modify this.
  *         Returns FALSE if we cannot find the file or the value as a DEFAULT.
  */
-extern const gboolean
+extern gboolean
 nnsconf_get_value_bool (nnsconf_type_value type);
 
 /**