projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b7d9a
)
fuse_log: initialize sys_log_level variable to avoid compiler warning
author
Joanne Koong
<joannelkoong@gmail.com>
Tue, 16 Jul 2024 19:57:59 +0000
(12:57 -0700)
committer
Bernd Schubert
<bernd.schubert@fastmail.fm>
Wed, 17 Jul 2024 21:35:55 +0000
(23:35 +0200)
lib/fuse_log.c
patch
|
blob
|
history
diff --git
a/lib/fuse_log.c
b/lib/fuse_log.c
index 95d6379c01d54dc6cefd2a84a658b567798f7455..c1d16c148d1b3d5269ab076968ff6d22a9af4d91 100644
(file)
--- a/
lib/fuse_log.c
+++ b/
lib/fuse_log.c
@@
-23,7
+23,7
@@
static void default_log_func(__attribute__((unused)) enum fuse_log_level level,
const char *fmt, va_list ap)
{
if (to_syslog) {
- int sys_log_level;
+ int sys_log_level
= LOG_ERR
;
/*
* with glibc fuse_log_level has identical values as
@@
-93,4
+93,4
@@
void fuse_log_enable_syslog(const char *ident, int option, int facility)
void fuse_log_close_syslog(void)
{
closelog();
-}
\ No newline at end of file
+}