From: Wouter Verhelst Date: Sun, 12 Jun 2011 10:54:19 +0000 (+0200) Subject: Remove dead assignment X-Git-Url: http://git.alex.org.uk Remove dead assignment This used to be part of option handling, but is dead and useless since we switched option handling to getopt() calls. --- diff --git a/nbd-client.c b/nbd-client.c index 2456c59..a88fa2a 100644 --- a/nbd-client.c +++ b/nbd-client.c @@ -435,7 +435,6 @@ int main(int argc, char *argv[]) { nbd = open(nbddev, O_RDWR); if (nbd < 0) err("Cannot open NBD: %m\nPlease ensure the 'nbd' module is loaded."); - ++argv; --argc; /* skip device */ sock = opennet(hostname, port, sdp);