* [PATCH 2/4] fdisk: remove listing variable
@ 2012-04-27 11:23 Davidlohr Bueso
2012-05-02 8:06 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Davidlohr Bueso @ 2012-04-27 11:23 UTC (permalink / raw)
To: Karel Zak; +Cc: util-linux
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-02 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 11:23 [PATCH 2/4] fdisk: remove listing variable Davidlohr Bueso
2012-05-02 8:06 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox