projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fa79b7
)
coverity: Add _assert_return_code model.
author
Andreas Schneider
<asn@cryptomilk.org>
Tue, 15 Apr 2014 14:49:07 +0000
(16:49 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Tue, 15 Apr 2014 14:49:07 +0000
(16:49 +0200)
coverity/coverity_assert_model.c
patch
|
blob
|
history
diff --git
a/coverity/coverity_assert_model.c
b/coverity/coverity_assert_model.c
index
e14e581
..
9bbb9f7
100644
(file)
--- a/
coverity/coverity_assert_model.c
+++ b/
coverity/coverity_assert_model.c
@@
-21,6
+21,16
@@
void _assert_int_not_equal(
__coverity_panic__();
}
+void _assert_return_code(const LargestIntegralType result,
+ size_t rlen,
+ const LargestIntegralType error,
+ const char * const expression,
+ const char * const file,
+ const int line)
+{
+ __coverity_panic__();
+}
+
void _assert_string_equal(const char * const a, const char * const b,
const char * const file, const int line)
{