Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
e2fsprogs: fix compile error and warnings for old gcc versions
[tools/e2fsprogs.git]
/
lib
/
ext2fs
/
dirhash.c
diff --git
a/lib/ext2fs/dirhash.c
b/lib/ext2fs/dirhash.c
index
c4ac94e
..
4ba3f35
100644
(file)
--- a/
lib/ext2fs/dirhash.c
+++ b/
lib/ext2fs/dirhash.c
@@
-154,8
+154,6
@@
static void str2hashbuf(const char *msg, int len, __u32 *buf, int num,
if (len > num*4)
len = num * 4;
for (i=0; i < len; i++) {
- if ((i % 4) == 0)
- val = pad;
if (unsigned_flag)
c = (int) ucp[i];
else