diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-01 19:08:09 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-04-01 19:08:09 +0100 |
commit | 46f6aa3507120f4b69a54abc02d8829eac005b6f (patch) | |
tree | eee0591714bfa56c5e3036c30cf57b7a55e288f5 /netfs/unittests/mockFuse.cpp | |
parent | First round of clang tidy changes (diff) | |
download | netfs-46f6aa3507120f4b69a54abc02d8829eac005b6f.tar.bz2 netfs-46f6aa3507120f4b69a54abc02d8829eac005b6f.tar.xz netfs-46f6aa3507120f4b69a54abc02d8829eac005b6f.zip |
Enable hicpp tidy checks
Diffstat (limited to 'netfs/unittests/mockFuse.cpp')
-rw-r--r-- | netfs/unittests/mockFuse.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/netfs/unittests/mockFuse.cpp b/netfs/unittests/mockFuse.cpp index 9e9ac87..8558b4c 100644 --- a/netfs/unittests/mockFuse.cpp +++ b/netfs/unittests/mockFuse.cpp @@ -3,7 +3,9 @@ FuseMock::FuseMock(std::string ep, Ice::StringSeq a) : NetFS::FuseApp(std::move(a)), - testEndpoint(std::move(ep)) + ops({}), + testEndpoint(std::move(ep)), + context({}) { ::memset(&context, 0, sizeof(fuse_context)); context.pid = getpid(); @@ -18,7 +20,7 @@ FuseMock::fuse_get_context() } int -// NOLINTNEXTLINE(modernize-avoid-c-arrays) +// NOLINTNEXTLINE(modernize-avoid-c-arrays, hicpp-avoid-c-arrays) FuseMock::fuse_opt_parse(struct fuse_args * args, void * data, const struct fuse_opt [], fuse_opt_proc_t proc) { for (int n = 0; n < args->argc; n += 1) { |