summaryrefslogtreecommitdiff
path: root/lib/ext2fs/icount.c
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@clusterfs.com>2007-05-25 11:18:11 -0400
committerTheodore Ts'o <tytso@mit.edu>2007-05-25 11:18:11 -0400
commitde8f3a76218255e443ba57dec5d74850180fa75d (patch)
tree74c6aef6e2431b67990c6fbf3f32652f3de316a9 /lib/ext2fs/icount.c
parentf954ba012fbff61730890115308e78de6720ad5f (diff)
downloade2fsprogs-de8f3a76218255e443ba57dec5d74850180fa75d.tar.gz
Fix gcc -Wall warnings, especially on 64-bit systems
Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/icount.c')
-rw-r--r--lib/ext2fs/icount.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ext2fs/icount.c b/lib/ext2fs/icount.c
index d1e11ae0..de0b6144 100644
--- a/lib/ext2fs/icount.c
+++ b/lib/ext2fs/icount.c
@@ -482,8 +482,6 @@ errcode_t ext2fs_icount_validate(ext2_icount_t icount, FILE *out)
errcode_t ext2fs_icount_fetch(ext2_icount_t icount, ext2_ino_t ino, __u16 *ret)
{
- struct ext2_icount_el *el;
-
EXT2_CHECK_MAGIC(icount, EXT2_ET_MAGIC_ICOUNT);
if (!ino || (ino > icount->num_inodes))
@@ -505,7 +503,6 @@ errcode_t ext2fs_icount_fetch(ext2_icount_t icount, ext2_ino_t ino, __u16 *ret)
errcode_t ext2fs_icount_increment(ext2_icount_t icount, ext2_ino_t ino,
__u16 *ret)
{
- struct ext2_icount_el *el;
__u16 curr_value;
EXT2_CHECK_MAGIC(icount, EXT2_ET_MAGIC_ICOUNT);
@@ -538,7 +535,6 @@ errcode_t ext2fs_icount_increment(ext2_icount_t icount, ext2_ino_t ino,
* The count was zero; mark the single bitmap
* and return.
*/
- zero_count:
ext2fs_mark_inode_bitmap(icount->single, ino);
if (ret)
*ret = 1;
@@ -731,7 +727,6 @@ struct test_program extended[] = {
static void setup(void)
{
errcode_t retval;
- int i;
struct ext2_super_block param;
initialize_ext2_error_table();