projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
223b887
)
only declare do_swap if we need it
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 30 Jul 2005 09:43:58 +0000
(09:43 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 30 Jul 2005 09:43:58 +0000
(09:43 -0000)
e2fsprogs/ext2fs/dirblock.c
patch
|
blob
|
history
diff --git
a/e2fsprogs/ext2fs/dirblock.c
b/e2fsprogs/ext2fs/dirblock.c
index
ebfc72c
..
5d66ad1
100644
(file)
--- a/
e2fsprogs/ext2fs/dirblock.c
+++ b/
e2fsprogs/ext2fs/dirblock.c
@@
-25,8
+25,10
@@
errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block,
errcode_t retval;
char *p, *end;
struct ext2_dir_entry *dirent;
- unsigned int name_len, rec_len, do_swap;
-
+ unsigned int name_len, rec_len;
+#ifdef EXT2FS_ENABLE_SWAPFS
+ unsigned int do_swap;
+#endif
retval = io_channel_read_blk(fs->io, block, 1, buf);
if (retval)