← Commit list

e70aa9de7

Mike Frysinger
Mike Frysinger
2005-07-30
FAILED Duration: 9s

Subject

only declare do_swap if we need it

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

e2fsprogs/ext2fs/dirblock.c+4 -2
@@ -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)