Explorar el Código

fix clang warning

ambrop7 hace 13 años
padre
commit
653c75a10e
Se han modificado 1 ficheros con 2 adiciones y 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;
     }
 }