diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-09 16:16:44 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-09 16:16:44 +0200 |
commit | 6bb35a38c244b20bbd6e85fd16f69ff2c4f0ed72 (patch) | |
tree | 432513fc67dcff844ecf5c48f38bdcf1a9fe3523 /package/genext2fs/genext2fs-1.4-remove_ugly_warnings.patch | |
parent | b6ebab842dbb0581526f907bf5b39cad0ac1f756 (diff) | |
parent | 0b79c5022d32b15180a18087a0fba5a2f1af5cc7 (diff) | |
download | buildroot-novena-6bb35a38c244b20bbd6e85fd16f69ff2c4f0ed72.tar.gz buildroot-novena-6bb35a38c244b20bbd6e85fd16f69ff2c4f0ed72.zip |
Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/genext2fs/genext2fs-1.4-remove_ugly_warnings.patch')
-rw-r--r-- | package/genext2fs/genext2fs-1.4-remove_ugly_warnings.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/genext2fs/genext2fs-1.4-remove_ugly_warnings.patch b/package/genext2fs/genext2fs-1.4-remove_ugly_warnings.patch new file mode 100644 index 000000000..ef23dfbe8 --- /dev/null +++ b/package/genext2fs/genext2fs-1.4-remove_ugly_warnings.patch @@ -0,0 +1,21 @@ +diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-remove_ugly_warnings/genext2fs.c +--- genext2fs-1.4/genext2fs.c 2007-02-09 10:54:56.000000000 +0100 ++++ genext2fs-1.4-remove_ugly_warnings/genext2fs.c 2007-02-09 10:54:30.000000000 +0100 +@@ -1606,7 +1606,7 @@ + static void + add2fs_from_dir(filesystem *fs, uint32 this_nod, int squash_uids, int squash_perms, uint32 fs_timestamp, struct stats *stats) + { +- uint32 nod; ++ uint32 nod = 0; + uint32 uid, gid, mode, ctime, mtime; + const char *name; + FILE *fh; +@@ -2056,7 +2056,7 @@ + static filesystem * + load_fs(FILE * fh, int swapit) + { +- size_t fssize; ++ size_t fssize = 0; + filesystem *fs; + if((fseek(fh, 0, SEEK_END) < 0) || ((ssize_t)(fssize = ftell(fh)) == -1)) + perror_msg_and_die("input filesystem image"); |