misc/coverity_model.c
author Wuzzy <Wuzzy2@mail.ru>
Tue, 06 Mar 2018 03:48:03 +0100
changeset 13082 aa9e871f9685
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Complete overhaul of Basic Rope Training NEW lesson plan: - Select rope - Shoot rope, attach, detach - Extend, retract, swing to reach easy target - Multiple shots / rope re-use to go over water hazard - Drop grenade from rope - Special rules when you only got 1 rope (also when the rope is officially used up) - Rope around obstacles and mines
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10498
bcd1d7ad2f3e Model file for coverity checks
unc0rr
parents:
diff changeset
     1
void fpcrtl_halt(int num) {
bcd1d7ad2f3e Model file for coverity checks
unc0rr
parents:
diff changeset
     2
    __coverity_panic__();
bcd1d7ad2f3e Model file for coverity checks
unc0rr
parents:
diff changeset
     3
}
bcd1d7ad2f3e Model file for coverity checks
unc0rr
parents:
diff changeset
     4
bcd1d7ad2f3e Model file for coverity checks
unc0rr
parents:
diff changeset
     5
int fpcrtl_abs(int num) {
bcd1d7ad2f3e Model file for coverity checks
unc0rr
parents:
diff changeset
     6
    return num >= 0 ? num : -num;
bcd1d7ad2f3e Model file for coverity checks
unc0rr
parents:
diff changeset
     7
}