diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-05 15:39:29 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-05 15:39:29 +0000 |
commit | 3cc53f58e4c0f0aa7b91c0c6919066470b0f0f91 (patch) | |
tree | af1e439a200bf17bd6a847dbf0e410cf78d87a0f /tap-iostat.c | |
parent | 4d5a20ddf657186905d066bf9e1f4eed17de816b (diff) |
Squelch a couple of Clang Static Analyzer warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29304 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tap-iostat.c')
-rw-r--r-- | tap-iostat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-iostat.c b/tap-iostat.c index bb1180479b..8ff9e3078c 100644 --- a/tap-iostat.c +++ b/tap-iostat.c @@ -530,7 +530,7 @@ register_io_tap(io_stat_t *io, int i, const char *filter) break; } } - if(io->items[i].calc_type!=CALC_TYPE_BYTES){ + if(hfi && io->items[i].calc_type!=CALC_TYPE_BYTES){ /* check that the type is compatible */ switch(hfi->type){ case FT_UINT8: |