mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Ubuntu 22.04 integration: Cppcheck
Suppress a false positive found by new Cppcheck version. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes #14148
This commit is contained in:
parent
b46be903fb
commit
28ea4f9b08
@ -91,6 +91,7 @@ nfs_init_tmpfile(const char *prefix, const char *mdir, struct tmpfile *tmpf)
|
||||
mkdir(mdir, 0755) < 0 &&
|
||||
errno != EEXIST) {
|
||||
fprintf(stderr, "failed to create %s: %s\n",
|
||||
// cppcheck-suppress uninitvar
|
||||
mdir, strerror(errno));
|
||||
return (B_FALSE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user