From: Neil Brown Date: Mon, 7 May 2012 21:59:26 +0000 (+1000) Subject: Remove extraction of base-name of command. X-Git-Tag: v0.9~43 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=4d6cb53ce62bff03816d296c36d2b23cd04b89da;p=wiggle.git Remove extraction of base-name of command. We don't use this any more (as use of the name 'vpatch' was discarded) so don't bother to extract it. Signed-off-by: NeilBrown --- diff --git a/wiggle.c b/wiggle.c index 02d4517..6e97155 100644 --- a/wiggle.c +++ b/wiggle.c @@ -580,13 +580,6 @@ int main(int argc, char *argv[]) int exit_status = 0; int ignore = 1; char *helpmsg; - char *base0; - - base0 = strrchr(argv[0], '/'); - if (base0) - base0++; - else - base0 = argv[0]; while ((opt = getopt_long(argc, argv, short_options(mode), long_options,