nbd-client: kill unused variable (total 0 bytes)
authorAlexander Shishkin <virtuoso@slind.org>
Thu, 21 Oct 2010 10:32:27 +0000 (13:32 +0300)
committerDenys Vlasenko <dvlasenk@redhat.com>
Fri, 22 Oct 2010 11:16:53 +0000 (13:16 +0200)
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
networking/nbd-client.c

index 5ac190c3253832684fb52a9c0011b36138998cd5..8b856eda790465bbdf920a43ebdfedd33eb199c2 100644 (file)
@@ -46,7 +46,9 @@ int nbdclient_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
 int nbdclient_main(int argc, char **argv)
 {
        unsigned long timeout = 0;
+#if BB_MMU
        int nofork = 0;
+#endif
        char *host, *port, *device;
        struct nbd_header_t {
                uint64_t magic1; // "NBDMAGIC"