Skip to content

Commit fea0044

Browse files
committed
fix tcc: function might return no value
1 parent 7269dfd commit fea0044

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toxcore/tox.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,7 @@ Tox_Connection tox_self_get_connection_status(const Tox *tox)
12521252
}
12531253

12541254
LOGGER_FATAL(tox->m->log, "impossible return value: %d", ret);
1255+
return TOX_CONNECTION_NONE;
12551256
}
12561257

12571258

0 commit comments

Comments
 (0)