Explorar o código

Tiny compiler warning fix.

Adam Ierymenko %!s(int64=11) %!d(string=hai) anos
pai
achega
2355fa973e
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      node/Network.hpp

+ 3 - 2
node/Network.hpp

@@ -269,11 +269,12 @@ public:
 						return NETWORK_OK;
 					else return NETWORK_WAITING_FOR_FIRST_AUTOCONF;
 				case NETCONF_FAILURE_INIT_FAILED:
+				default:
 					return NETWORK_INITIALIZATION_FAILED;
 			}
-		} else if (_netconfFailure == NETCONF_FAILURE_INIT_FAILED)
+		} else if (_netconfFailure == NETCONF_FAILURE_INIT_FAILED) {
 			return NETWORK_INITIALIZATION_FAILED;
-		else return NETWORK_INITIALIZING;
+		} else return NETWORK_INITIALIZING;
 	}
 
 	/**