Wireshark-bugs: [Wireshark-bugs] [Bug 7215] dvb-ci: fix some clang warnings

Date: Mon, 30 Apr 2012 11:02:51 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7215

--- Comment #3 from Martin Kaiser <wireshark@xxxxxxxxx> 2012-04-30 11:02:51 PDT ---

Hi Pascal,

thanks for your quick response.

(In reply to comment #2)
> Patch delivered in revision 42347.
> 
> Not sure about the first warning, but for the two other ones have you tried
> this?

I tried your patch, it works without any problems. Actually, most other
protocols with string preferences (e.g. opensafety) have a const pointer as you
suggest.

Now that I'm looking at this, I found a couple of other protocols that cause
the same clang warning, most notably ssl/dtls (that's where I copied my dvb-ci
code from ;-). See the trivial patches atteched.

Best regards,

    Martin

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