diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-15 18:08:35 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-04-15 18:08:35 +0100 |
commit | d1f9db11b2016c3f66c230c5fbf6762b4a2984ab (patch) | |
tree | d10a8d84240d09f522e814170cdd88a23bc6aa05 /netfs/fuse | |
parent | No hacky define, types for open maps public for testing (diff) | |
download | netfs-d1f9db11b2016c3f66c230c5fbf6762b4a2984ab.tar.bz2 netfs-d1f9db11b2016c3f66c230c5fbf6762b4a2984ab.tar.xz netfs-d1f9db11b2016c3f66c230c5fbf6762b4a2984ab.zip |
Enable lots of warnings, fix the few bits of fallout
Diffstat (limited to 'netfs/fuse')
-rw-r--r-- | netfs/fuse/netfs.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/netfs/fuse/netfs.cpp b/netfs/fuse/netfs.cpp index 77530ac..92242d4 100644 --- a/netfs/fuse/netfs.cpp +++ b/netfs/fuse/netfs.cpp @@ -6,11 +6,11 @@ class FuseImpl : public fuse_args, public NetFS::FuseApp { public: FuseImpl(int c, char ** v) : fuse_args(FUSE_ARGS_INIT(c, v)), NetFS::FuseApp([this]() { - Ice::StringSeq iceArgs; - if (fuse_opt_parse(this, &iceArgs, nullptr, opt_parse) == -1) { + Ice::StringSeq rtn; + if (fuse_opt_parse(this, &rtn, nullptr, opt_parse) == -1) { exit(-1); } - return iceArgs; + return rtn; }()) { openlog("netfs", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_USER); @@ -38,6 +38,7 @@ public: void vlogf(int priority, const char * fmt, va_list args) const noexcept override { + // NOLINTNEXTLINE(clang-diagnostic-format-nonliteral) vsyslog(priority, fmt, args); } }; |