diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2013-06-18 16:52:52 -0700 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2013-06-18 16:52:52 -0700 |
commit | 837a0b540595f8d0fab3214b0126ef436712aa98 (patch) | |
tree | 7eaf0392cda1acc2a52f8fabe645eec43022539e /coverity | |
parent | 01e38dd4d0db62e66b23e867f84b7b8da2533556 (diff) | |
download | rabbitmq-c-837a0b540595f8d0fab3214b0126ef436712aa98.tar.gz |
Add Coverity model file
Diffstat (limited to 'coverity')
-rw-r--r-- | coverity/model.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/coverity/model.c b/coverity/model.c new file mode 100644 index 0000000..3eccc8d --- /dev/null +++ b/coverity/model.c @@ -0,0 +1,16 @@ +/* Functions to help coverity do static analysis on rabbitmq-c */ + +void amqp_abort(const char *fmt, ...) +{ + __coverity_panic__(); +} + +void die_on_amqp_error(amqp_rpc_reply *r) +{ + __coverity_panic__(); +} + +void die_on_error(int r) +{ + __coverity_panic__(); +} |