misc/coverity_model.c
author Wuzzy <Wuzzy2@mail.ru>
Sat, 21 Oct 2017 19:02:53 +0200
changeset 12736 2b0a4a4b1ba2
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Fix division by 0 in sniper rifle training

void fpcrtl_halt(int num) {
    __coverity_panic__();
}

int fpcrtl_abs(int num) {
    return num >= 0 ? num : -num;
}