Explorar o código

fix clang warning

ambrop7 %!s(int64=13) %!d(string=hai) anos
pai
achega
653c75a10e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      system/BConnectionGeneric.h

+ 2 - 0
system/BConnectionGeneric.h

@@ -103,6 +103,7 @@ static int BListener_InitGeneric (BListener *o, struct BConnection_addr addr, BR
         
         default:
             ASSERT(0);
+            return 0;
     }
 }
 
@@ -136,6 +137,7 @@ static int BConnector_InitGeneric (BConnector *o, struct BConnection_addr addr,
         
         default:
             ASSERT(0);
+            return 0;
     }
 }