Whamcloud - gitweb
misc: cleanup gcc -Wall warnings
[tools/e2fsprogs.git] / lib / ext2fs / undo_io.c
index b9294c3..4213320 100644 (file)
  * %End-Header%
  */
 
+#ifndef _LARGEFILE_SOURCE
 #define _LARGEFILE_SOURCE
+#endif
+#ifndef _LARGEFILE64_SOURCE
 #define _LARGEFILE64_SOURCE
+#endif
 
 #include "config.h"
 #include <stdio.h>
@@ -193,7 +197,6 @@ static errcode_t write_undo_indexes(struct undo_private_data *data, int flush)
                        data->keys_in_block = 0;
                        data->key_blk_num = data->undo_blk_num;
                        data->undo_blk_num++;
-                       flush = 1;
                }
        }