misc/coverity_model.c
author sheepluva
Sat, 29 Nov 2014 15:38:28 +0100
changeset 10573 3b82b4d90eb7
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
make the code, which was supposed to iterate file log number (if no access) and fallback to stderr in worst case rather than segfault, actually work

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

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