summaryrefslogtreecommitdiffstats
path: root/disk-utils/blockdev.c
diff options
context:
space:
mode:
authorSami Kerola2011-06-29 23:21:17 +0200
committerSami Kerola2011-06-30 00:35:54 +0200
commitb763186fb4f984f81dc18a9377214f8af5d48649 (patch)
treea136fdeeab8c80aa46d55817783f29201caf0996 /disk-utils/blockdev.c
parentblockdev: use pathnames.h to find partitions (diff)
downloadkernel-qcow2-util-linux-b763186fb4f984f81dc18a9377214f8af5d48649.tar.gz
kernel-qcow2-util-linux-b763186fb4f984f81dc18a9377214f8af5d48649.tar.xz
kernel-qcow2-util-linux-b763186fb4f984f81dc18a9377214f8af5d48649.zip
blockdev: broken compiler warning circumvention removed
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'disk-utils/blockdev.c')
-rw-r--r--disk-utils/blockdev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c
index bbdc08e0d..0674780b8 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);