bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] * libparted/labels/fdasd.c (GETARG): Remove unused definition.


From: Jim Meyering
Subject: [PATCH] * libparted/labels/fdasd.c (GETARG): Remove unused definition.
Date: Tue, 13 Feb 2007 17:08:35 +0100

A tiny change...

Signed-off-by: Jim Meyering <address@hidden>
---
 libparted/labels/fdasd.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libparted/labels/fdasd.c b/libparted/labels/fdasd.c
index df32205..8fd38e1 100644
--- a/libparted/labels/fdasd.c
+++ b/libparted/labels/fdasd.c
@@ -28,8 +28,6 @@
 #  define _(String) (String)
 #endif /* ENABLE_NLS */
 
-#define GETARG(x) {int k=strlen(optarg);x=malloc(k);strncpy(x,optarg,k);}
-
 static int
 getpos (fdasd_anchor_t *anc, int dsn)
 {
-- 
1.5.0.rc4.26.gcc46a-dirty





reply via email to

[Prev in Thread] Current Thread [Next in Thread]