Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6163] Dissector for XR IDMS from ETSI TS 182 063 v3.5.2 An

Date: Sun, 31 Jul 2011 17:18:31 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6163

--- Comment #9 from T. Loebner <loebnert@xxxxxxxxxxxxxx> 2011-07-31 17:18:31 PDT ---
(In reply to comment #8)
> gcc 4.6 is giving an unused but set warning in dissect_rtcp_xr for 'buff' in
> the following:
> 
>     buff=tvb_ntp_fmt_ts(tvb, offset-8);
> 
> Should the contents of 'buff' be used or is this an extra line of code ??

The contents of buff are used in the next line:

item = proto_tree_add_string_format( content_tree, hf_rtcp_ntp, tvb, offset-8,
8, buff, "NTP timestamp of reception: %s", buff );

This line is used to display the decoded timestamp of reception. Anders
mentioned in comment 2, that there is another solution for decoding and adding
the timestamp, but I haven't thought about it so far.

regards
          Torsten

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.