removed warning
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 16:05:35 +0000 (16:05 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 11 Nov 2007 16:05:35 +0000 (16:05 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3592 c046a42c-6fe2-441c-8c8c-71466251a162

slirp/misc.c

index 9ea7dd068e053bc9cf6bc66418f6d7732a84755e..14808fe21d3e3c10ff696c580edd45dcc923bc8b 100644 (file)
@@ -327,6 +327,8 @@ fork_exec(struct socket *so, const char *ex, int do_pty)
                        lprint("Error: openpty failed: %s\n", strerror(errno));
                        return 0;
                }
+#else
+                return 0;
 #endif
        } else {
                addr.sin_family = AF_INET;