Wireshark mailing list archives

Re: warning: unused parameter


From: chuck c <bubbasnmp () gmail com>
Date: Sun, 7 Feb 2021 16:55:43 -0600

Description of _U_ :
https://www.wireshark.org/lists/wireshark-dev/200609/msg00226.html

Defined in
https://gitlab.com/wireshark/wireshark/-/blob/master/ws_attributes.h

On Sun, Feb 7, 2021 at 4:33 PM Guy Harris <gharris () sonic net> wrote:

On Feb 7, 2021, at 10:58 AM, Paul Offord <paul.offord58 () gmail com> wrote:

      • Add conditional compile statements for the sharkd_loop function
declaration and all calls to it?

* Add conditional compile statements around the entire sharkd_loop()
function, given that the vast majority of its code differs between UN*X and
Windows, with the Windows version not adding _U_ to the arguments and the
UN*X version adding _U_ to the arguments?

      • Add something to the *NIX version of the code to use the
parameters?

So how does the Windows version use the parameters?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org
?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: