diff options
Diffstat (limited to 'netfs/fuse/fuseAppBase.cpp')
-rw-r--r-- | netfs/fuse/fuseAppBase.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/netfs/fuse/fuseAppBase.cpp b/netfs/fuse/fuseAppBase.cpp index 4485aec..01ec8e1 100644 --- a/netfs/fuse/fuseAppBase.cpp +++ b/netfs/fuse/fuseAppBase.cpp @@ -149,7 +149,7 @@ int FuseAppBase::lock(const char *, struct fuse_file_info *, int, struct flock * { return -ENOSYS; } -// NOLINTNEXTLINE(modernize-avoid-c-arrays) +// NOLINTNEXTLINE(modernize-avoid-c-arrays, hicpp-avoid-c-arrays) int FuseAppBase::utimens(const char *, const struct timespec[2]) { return -ENOSYS; @@ -190,8 +190,11 @@ void FuseAppBase::log(int level, const char * message) const noexcept void FuseAppBase::logf(int level, const char * fmt, ...) const noexcept { va_list args; + // NOLINTNEXTLINE(hicpp-no-array-decay) va_start(args, fmt); + // NOLINTNEXTLINE(hicpp-no-array-decay) vlogf(level, fmt, args); + // NOLINTNEXTLINE(hicpp-no-array-decay) va_end(args); } |