Skip to content

Commit ce36741

Browse files
committed
fix: TCC doesn't now that abort() never returns
1 parent d5de4dc commit ce36741

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
@@ -1121,6 +1121,7 @@ Tox_Connection tox_self_get_connection_status(const Tox *tox)
11211121
}
11221122

11231123
LOGGER_FATAL(tox->m->log, "impossible return value: %d", ret);
1124+
return TOX_CONNECTION_NONE;
11241125
}
11251126

11261127

0 commit comments

Comments
 (0)