aboutsummaryrefslogtreecommitdiffstats
path: root/tap-iostat.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-05 15:39:29 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-05 15:39:29 +0000
commit3cc53f58e4c0f0aa7b91c0c6919066470b0f0f91 (patch)
treeaf1e439a200bf17bd6a847dbf0e410cf78d87a0f /tap-iostat.c
parent4d5a20ddf657186905d066bf9e1f4eed17de816b (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.c2
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: