ext2: plug a set-but-not-used var
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
d37dca9ec9
commit
11c5495554
@ -449,7 +449,11 @@ static int
|
||||
ext4_ext_check_header(struct inode *ip, struct ext4_extent_header *eh,
|
||||
int depth)
|
||||
{
|
||||
#ifdef KDTRACE_HOOKS
|
||||
char *error_msg;
|
||||
#else
|
||||
char *error_msg __unused;
|
||||
#endif
|
||||
|
||||
if (le16toh(eh->eh_magic) != EXT4_EXT_MAGIC) {
|
||||
error_msg = "header: invalid magic";
|
||||
|
Loading…
Reference in New Issue
Block a user