diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-12-08 19:25:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-12-08 19:25:09 +0000 |
commit | 6224fde4b4c6fb1bcbfcf6fc77b9b8fda4dbe05a (patch) | |
tree | 768b254b284abcc14cb954477cf01b01a22bdf40 | |
parent | f92f3a7512555252d3b998bce188fcb79043f120 (diff) |
Fix the RCS ID.
The "if()" gets rid of one GCC warning, but adds another one - we could
leave the warning in place, as a reminder that the dissector needs to be
finished, or we could just tag the parameter with _U_ to suppress the
warning.
svn path=/trunk/; revision=12695
-rw-r--r-- | epan/dissectors/packet-dcerpc-pn-io.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/epan/dissectors/packet-dcerpc-pn-io.c b/epan/dissectors/packet-dcerpc-pn-io.c index ee3eb52baf..ba614bbc0a 100644 --- a/epan/dissectors/packet-dcerpc-pn-io.c +++ b/epan/dissectors/packet-dcerpc-pn-io.c @@ -2,7 +2,7 @@ * Routines for PROFINET IO dissection * (based on DCE-RPC and PN-RT protocols) * - * $ID: $ + * $Id$ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1008,11 +1008,7 @@ dissect_PNIO_Data(tvbuff_t *tvb, int offset, /* proto_tree *data_tree;*/ - /* satisfy gcc warning about "unused parameter" */ - /* (will be used, when dissection is continued here) */ - if(drep == drep); - - data_item = proto_tree_add_protocol_format(tree, proto_pn_io, tvb, 0, tvb_length(tvb), + data_item = proto_tree_add_protocol_format(tree, proto_pn_io, tvb, 0, tvb_length(tvb), "PROFINET IO Data: %u bytes", tvb_length(tvb)); #if 0 |