Blame view

3rdparty/rabbitmq-c-0.11.0/coverity/model.c 656 Bytes
09c2d08c   Hu Chunming   arm交付版
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  /* Functions to help coverity do static analysis on rabbitmq-c */
  
  typedef struct {
  } amqp_rpc_reply_t;
  
  /* librabbitmq/amqp_private.h */
  void amqp_abort(const char* fmt, ...) { __coverity_panic__(); }
  
  /* tools/common.h */
  void die(const char* fmt, ...) { __coverity_panic__(); }
  void die_errno(int err, const char* fmt, ...) { __coverity_panic__(); }
  void die_amqp_error(int err, const char* fmt, ...) { __coverity_panic__(); }
  void die_rpc(amqp_rpc_reply_t r, const char* fmt, ...) { __coverity_panic__(); }
  
  /* examples/utils.h */
  void die_on_amqp_error(amqp_rpc_reply_t* r) { __coverity_panic__(); }
  void die_on_error(int r) { __coverity_panic__(); }