mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-19 14:36:38 -05:00
Silence clang static analyzer warnings
This commit is contained in:
parent
76124cff00
commit
3878c0e2e6
10 changed files with 35 additions and 19 deletions
|
|
@ -2026,6 +2026,8 @@ int fssnapshot_mount(const char* path, struct fssnapshot_struct* fss)
|
|||
/* LCOV_EXCL_STOP */
|
||||
}
|
||||
|
||||
assert(fss != 0); /* silence the clang static analyzer (it's never called with a NULL fss) */
|
||||
|
||||
if (sfs.f_type == BTRFS_SUPER_MAGIC) {
|
||||
/* btrfs reserved inode 256 for subvolume roots */
|
||||
return fssnapshot_inode(path, BTRFS_SUPER_MAGIC, 256, fss);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue