From: Sami Kerola Date: Wed, 29 Jun 2011 21:21:17 +0000 (+0200) Subject: blockdev: broken compiler warning circumvention removed X-Git-Tag: v2.20-rc1~113^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b763186fb4f984f81dc18a9377214f8af5d48649;p=thirdparty%2Futil-linux.git blockdev: broken compiler warning circumvention removed Signed-off-by: Sami Kerola --- diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c index bbdc08e0d2..0674780b8f 100644 --- a/disk-utils/blockdev.c +++ b/disk-utils/blockdev.c @@ -218,10 +218,6 @@ int main(int argc, char **argv) { int fd, d, j, k; - /* egcs-2.91.66 is buggy and says: - blockdev.c:93: warning: `d' might be used uninitialized */ - d = 0; - setlocale(LC_ALL, ""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE);