projects
/
nbd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220ebc2
)
Remove dead assignment
author
Wouter Verhelst <w@uter.be>
Sun, 12 Jun 2011 10:54:19 +0000
(12:54 +0200)
committer
Wouter Verhelst <w@uter.be>
Sun, 12 Jun 2011 10:54:19 +0000
(12:54 +0200)
This used to be part of option handling, but is dead and useless since
we switched option handling to getopt() calls.
nbd-client.c
patch
|
blob
|
history
diff --git
a/nbd-client.c
b/nbd-client.c
index
2456c59
..
a88fa2a
100644
(file)
--- 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);