misc/coverity_model.c
author unC0Rr
Tue, 02 Jan 2018 23:20:50 +0300
branch0.9.23
changeset 12874 7caa4ec513bd
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Fix obviously broken logic. Fixes broken preview fetching on Windows.

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

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