aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-04-15 16:49:07 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-04-15 16:49:07 +0200
commit3488c7fe316c9cae6c6f2891e5df4ee151401a52 (patch)
tree8ae2a7df05048311a368fc2ad49a1906f2ebb4a5
parent2fa79b726e6d802e74f5aa43786004a1b9605f77 (diff)
downloadcmocka-3488c7fe316c9cae6c6f2891e5df4ee151401a52.tar.gz
cmocka-3488c7fe316c9cae6c6f2891e5df4ee151401a52.tar.xz
cmocka-3488c7fe316c9cae6c6f2891e5df4ee151401a52.zip
coverity: Add _assert_return_code model.
-rw-r--r--coverity/coverity_assert_model.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/coverity/coverity_assert_model.c b/coverity/coverity_assert_model.c
index e14e581..9bbb9f7 100644
--- 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)
{