mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 15:33:16 +01:00
add coverity model for CHECK operation
This commit is contained in:
parent
6f26a49e0e
commit
84073f7d90
12
model/logging.c
Normal file
12
model/logging.c
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
void CHECK(bool cond) {
|
||||
if (!cond) {
|
||||
__coverity_panic__();
|
||||
}
|
||||
}
|
||||
|
||||
void CHECK_EQ(int l, int r) {
|
||||
if (l != r) {
|
||||
__coverity_panic__();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user