projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185bbab
)
main: Don't warn for unset config option
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 9 Nov 2020 22:57:56 +0000
(14:57 -0800)
committer
Ayush Garg
<ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000
(19:08 +0530)
Unset options shall not be printed if debug is not enabled.
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
6b66eaf
..
666d797
100755
(executable)
--- a/
src/main.c
+++ b/
src/main.c
@@
-336,7
+336,7
@@
static void parse_mode_config(GKeyFile *config, const char *group,
int val = g_key_file_get_integer(config, group,
params[i].val_name, &err);
if (err) {
-
warn
("%s", err->message);
+
DBG
("%s", err->message);
g_clear_error(&err);
} else {
info("%s=%d", params[i].val_name, val);