]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
minix: fix warning
authorDavidlohr Bueso <dave@gnu.org>
Mon, 6 Jun 2011 13:52:30 +0000 (09:52 -0400)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Jun 2011 11:09:42 +0000 (13:09 +0200)
This patch fixes an unused variable warning.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
disk-utils/minix.h

index 4e670ba00e5594b67714a5c7a9f0c49e3746c101..0ebaa261e41df706d171eea8c31e10f97f5659d7 100644 (file)
@@ -123,8 +123,6 @@ static inline unsigned long get_max_size(void)
 
 static unsigned long inode_blocks(void)
 {
-       unsigned long ret;
-
        if (fs_version == 2)
                return UPPER(get_ninodes(), MINIX2_INODES_PER_BLOCK);
        else