diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-02-17 19:43:16 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-02-17 19:43:16 +0000 |
commit | 1b0516a27ea33e0b91f824248a8797f02b6af047 (patch) | |
tree | 969f03666b78e41767f358fbf15cc07c01ab0bf4 /epan/dissectors/packet-aoe.c | |
parent | 51e5e75373ed9886e5b311cb6db6dd3a09b0df03 (diff) |
Fix various Visual C++ analysis warnings.
svn path=/trunk/; revision=35985
Diffstat (limited to 'epan/dissectors/packet-aoe.c')
-rw-r--r-- | epan/dissectors/packet-aoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-aoe.c b/epan/dissectors/packet-aoe.c index f310cd37bf..a71ef0e919 100644 --- a/epan/dissectors/packet-aoe.c +++ b/epan/dissectors/packet-aoe.c @@ -305,7 +305,7 @@ dissect_ata_pdu(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset, } } else { proto_tree_add_item(tree, hf_aoe_astatus, tvb, offset, 1, FALSE); - if(ata_info && ata_info->request_frame){ + if(ata_info != NULL && ata_info->request_frame){ /* we dont know what command it was unless we saw the request_frame */ tmp_item=proto_tree_add_uint(tree, hf_aoe_acmd, tvb, 0, 0, ata_info->cmd); PROTO_ITEM_SET_GENERATED(tmp_item); |