Skip to content

Commit 322c433

Browse files
committed
janus: remove unused variable
1 parent 84c6b81 commit 322c433

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/janus/ws_common.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ int janus_populate_handler_id(janus_connection *sock)
820820
{
821821
struct janus_ws_req *req;
822822
enum ws_close_code ret_code = WS_ERR_NONE;
823-
int total_bytes=0,bytes=0;
823+
int bytes=0;
824824

825825
req = &sock->con_req;
826826

@@ -839,7 +839,6 @@ int janus_populate_handler_id(janus_connection *sock)
839839
usleep(10000);
840840
goto read_again;
841841
}
842-
total_bytes+=bytes;
843842
}
844843
ret_code = janus_ws_parse(req);
845844
if (ret_code)

0 commit comments

Comments
 (0)