From: Davidlohr Bueso <dave@gnu.org>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux <util-linux@vger.kernel.org>
Subject: [PATCH 2/4] fdisk: remove listing variable
Date: Fri, 27 Apr 2012 13:23:47 +0200 [thread overview]
Message-ID: <1335525827.11068.5.camel@offworld> (raw)
From: Davidlohr Bueso <dave@gnu.org>
useless global variable.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
fdisk/fdisk.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c
index 886f011..f49efd0 100644
--- a/fdisk/fdisk.c
+++ b/fdisk/fdisk.c
@@ -216,7 +216,6 @@ char *disk_device, /* must be specified */
int fd, /* the disk */
ext_index, /* the prime extended partition */
- listing = 0, /* no aborts for fdisk -l */
nowarn = 0, /* no warnings for fdisk -l/-s */
dos_compatible_flag = 0, /* disabled by default */
dos_changed = 0,
@@ -2940,7 +2939,6 @@ main(int argc, char **argv) {
nowarn = 1;
if (argc > optind) {
int k;
- listing = 1;
for (k = optind; k < argc; k++)
print_partition_table_from_option(argv[k]);
} else
--
1.7.4.1
next reply other threads:[~2012-04-27 11:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-27 11:23 Davidlohr Bueso [this message]
2012-05-02 8:06 ` [PATCH 2/4] fdisk: remove listing variable Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1335525827.11068.5.camel@offworld \
--to=dave@gnu.org \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.