diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-03-15 17:51:19 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-03-15 17:51:19 +0000 |
commit | acadd9476a35846378d8c86397bc745a8d12daf8 (patch) | |
tree | 73c1b4e0769073a47d4047adc811d81086e1e082 /epan/proto.h | |
parent | c28042a230dd98bd7a114096ff109d1cf7a11096 (diff) |
Declare sip_uri_offset_init() as returning void and remove a couple unused variables
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32195 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.h b/epan/proto.h index 59556aea0b..3677ebe492 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1561,7 +1561,7 @@ WS_VAR_IMPORT int num_tree_types; /** glib doesn't have g_ptr_array_len of all things!*/ #ifndef g_ptr_array_len -#define g_ptr_array_len(a) ((a)->len) +#define g_ptr_array_len(a) ((a)?(a)->len:0) #endif /** Get number of bits of a header_field. |