misc/coverity_model.c
author marmistrz
Sun, 24 Jun 2018 12:09:31 -0400
changeset 13426 d1368c776a4f
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Enable all lints from the rust-2018-idioms suite. Additionally, fix the violation of the bare-trait-objects lint.

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

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