diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-01-26 21:42:36 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-01-26 21:42:36 +0000 |
commit | 329f6e8cc02dd7b2dfa82837e7f43fb74442491f (patch) | |
tree | 57d83a444d79dcce1b37598d89874aff086cfefc /epan/dissectors/packet-dcerpc-frsapi.c | |
parent | 50efee619e674fa03aa7732df951624b7b6605e7 (diff) |
Initialize some hf_... vars to -1;
(Reduces the number of checkhf false positives)
svn path=/trunk/; revision=47310
Diffstat (limited to 'epan/dissectors/packet-dcerpc-frsapi.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-frsapi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dcerpc-frsapi.c b/epan/dissectors/packet-dcerpc-frsapi.c index 6c860b86c3..07bc074752 100644 --- a/epan/dissectors/packet-dcerpc-frsapi.c +++ b/epan/dissectors/packet-dcerpc-frsapi.c @@ -1,5 +1,5 @@ /* packet-dcerpc-frsapi.c - * Routines for the frs API (File Replication Service) MSRPC interface + * Routines for the frs API (File Replication Service) MSRPC interface * Copyright 2004 Jean-Baptiste Marchand <jbm@hsc.fr> * * $Id$ @@ -33,7 +33,7 @@ static int proto_dcerpc_frsapi = -1; -static int hf_frsapi_opnum = 0; +static int hf_frsapi_opnum = -1; static gint ett_dcerpc_frsapi = -1; @@ -49,7 +49,7 @@ static e_uuid_t uuid_dcerpc_frsapi = { { 0x9a, 0x3c, 0x00, 0xc0, 0x4f, 0xc9, 0xb2, 0x32 } }; -static guint16 ver_dcerpc_frsapi = 1; +static guint16 ver_dcerpc_frsapi = 1; static dcerpc_sub_dissector dcerpc_frsapi_dissectors[] = { @@ -72,9 +72,9 @@ proto_register_dcerpc_frsapi(void) static hf_register_info hf[] = { - { &hf_frsapi_opnum, + { &hf_frsapi_opnum, { "Operation", "frsapi.opnum", FT_UINT16, BASE_DEC, - NULL, 0x0, NULL, HFILL }}, + NULL, 0x0, NULL, HFILL }}, }; |