From 60cb2c37201a453a76ea12e4d4b48f7b34ebef2c Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Fri, 30 May 2014 01:18:09 +0200 Subject: build: fix some compiler warnings Most of them catched on 32bit gcc and icc. disk-utils/fsck.cramfs.c: printf format type lib/boottime.c: unused variables misc-utils/cal.c: set but never used sys-utils/losetup.c: set but never used sys-utils/lscpu-dmi.c: defined but not used sys-utils/switch_root.c: comparison between signed and unsigned tests/helpers/test_sysinfo.c: printf format type --- sys-utils/losetup.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys-utils/losetup.c') diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c index ecba8a56c..6ad94be4c 100644 --- a/sys-utils/losetup.c +++ b/sys-utils/losetup.c @@ -77,7 +77,6 @@ static struct colinfo infos[] = { static int columns[NCOLS] = {-1}; static int ncolumns; -static int verbose; static int get_column_id(int num) { @@ -543,7 +542,6 @@ int main(int argc, char **argv) showdev = 1; break; case 'v': - verbose = 1; break; case 'V': printf(UTIL_LINUX_VERSION); -- cgit v1.2.3-55-g7522