From 094507fdedf371d9651f7ac1e1c5b6b76883b428 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 22 Apr 2019 14:08:43 -0700 Subject: [PATCH] libext2fs: remove unused variable 'buff' In ext2fs_dirhash2(), the outer 'buff' variable is never used. Reviewed-by: Gabriel Krisman Bertazi Signed-off-by: Eric Biggers Signed-off-by: Theodore Ts'o --- lib/ext2fs/dirhash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ext2fs/dirhash.c b/lib/ext2fs/dirhash.c index b9afb59..2a51742 100644 --- a/lib/ext2fs/dirhash.c +++ b/lib/ext2fs/dirhash.c @@ -279,7 +279,6 @@ errcode_t ext2fs_dirhash2(int version, const char *name, int len, { errcode_t r; int dlen; - unsigned char *buff; if (len && charset && (hash_flags & EXT4_CASEFOLD_FL)) { char buff[PATH_MAX]; -- 1.8.3.1