Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a003778
)
libext2fs: remove unused variable 'buff'
author
Eric Biggers
<ebiggers@google.com>
Mon, 22 Apr 2019 21:08:43 +0000
(14:08 -0700)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 29 Apr 2019 00:36:30 +0000
(20:36 -0400)
In ext2fs_dirhash2(), the outer 'buff' variable is never used.
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/dirhash.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/dirhash.c
b/lib/ext2fs/dirhash.c
index
b9afb59
..
2a51742
100644
(file)
--- 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];