Skip to contentSkip to conversation

libext2fs: remove unused variable 'buff'

PATCH Applied Eric Biggers 3 participants 3 messages Apr 22, 2019 – Apr 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libext2fs: remove unused variable 'buff'

From: Eric Biggers <[email protected]>

In ext2fs_dirhash2(), the outer 'buff' variable is never used.

Cc Gabriel Krisman Bertazi <[email protected]>
---
 lib/ext2fs/dirhash.c | 1 -
 1 file changed, 1 deletion(-)
lib/ext2fs/dirhash.c +0 -1
index f1e7734d..97fd2431 100644
@@ -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) {
 		char buff[PATH_MAX];
Signature · 1 line
2.21.0.593.g511ec345e18-goog