Whamcloud - gitweb
misc: fix missing variable names in function prototype
authorTheodore Ts'o <tytso@mit.edu>
Mon, 24 Feb 2025 05:00:42 +0000 (00:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Feb 2025 05:00:42 +0000 (00:00 -0500)
commitbccbf730b1056a18721afb4a30a891090246c05c
treebbebd5726b394a73ef6469c41cde975e5f806ce6
parent6de10c745d7f15be288a4cef57216a88d571043a
misc: fix missing variable names in function prototype

If libarchive support is not available or has been disable, the
function __populate_fs_from_tar() just prints an error message, and
doesn't use any of the function paramaters.  Newer versions of gcc
won't complain about the missing function names, since newer C
standards allow this, but it breaks on older versions of gcc.

Also return the error code ENOTSUP instead of 1.

https://github.com/tytso/e2fsprogs/issues/213

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/create_inode_libarchive.c