Whamcloud - gitweb
libext2: move buf variable completely under ifdef
authorEric Sandeen <sandeen@redhat.com>
Fri, 16 Sep 2011 20:49:20 +0000 (15:49 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 22:43:04 +0000 (18:43 -0400)
commitd0f196d867504d8461fb7c6958aa6a5d220d5825
tree2654831f2972469d87da59e06a19f04ba8530b43
parent4d5cf8b166bb29f0e3280bbadca9d3a8b895acd1
libext2: move buf variable completely under ifdef

If !WORDS_BIGENDIAN, it is pointless to test whether buf
is NULL, because it is initialized to NULL and never changed.
This makes Coverity complain, so we can just move all handling
of "buf" under the #ifdef.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext_attr.c