fix gcc warning
This commit is contained in:
parent
7ae6972306
commit
e4b0286a25
@ -331,6 +331,7 @@ namespace ix
|
|||||||
case ix::WebSocketTransport::CONNECTING: return WebSocket_ReadyState_Connecting;
|
case ix::WebSocketTransport::CONNECTING: return WebSocket_ReadyState_Connecting;
|
||||||
case ix::WebSocketTransport::CLOSING: return WebSocket_ReadyState_Closing;
|
case ix::WebSocketTransport::CLOSING: return WebSocket_ReadyState_Closing;
|
||||||
case ix::WebSocketTransport::CLOSED: return WebSocket_ReadyState_Closed;
|
case ix::WebSocketTransport::CLOSED: return WebSocket_ReadyState_Closed;
|
||||||
|
default: return WebSocket_ReadyState_Closed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -342,6 +343,7 @@ namespace ix
|
|||||||
case WebSocket_ReadyState_Connecting: return "CONNECTING";
|
case WebSocket_ReadyState_Connecting: return "CONNECTING";
|
||||||
case WebSocket_ReadyState_Closing: return "CLOSING";
|
case WebSocket_ReadyState_Closing: return "CLOSING";
|
||||||
case WebSocket_ReadyState_Closed: return "CLOSED";
|
case WebSocket_ReadyState_Closed: return "CLOSED";
|
||||||
|
default: return "CLOSED";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user