]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.c
fix a bunch of warnings
[xonotic/darkplaces.git] / lhnet.c
diff --git a/lhnet.c b/lhnet.c
index cd60917f611d3293389b90d4b78e0ae237d4b2a0..5d60a213c8d59bbd57f212d8e2a2597db1859215 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -124,7 +124,7 @@ int LHNETADDRESS_FromPort(lhnetaddress_t *vaddress, lhnetaddresstype_t addressty
        switch(addresstype)
        {
        default:
-               return 0;
+               break;
        case LHNETADDRESSTYPE_LOOP:
                // local:port  (loopback)
                memset(address, 0, sizeof(*address));