Re: [Wireshark-dev] warning: unused parameter

2021-02-07 Thread chuck c
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 wrote: > On Feb 7, 2021, at 10:58 AM, Paul Offord wrote: > > > • Add condition

Re: [Wireshark-dev] warning: unused parameter

2021-02-07 Thread Guy Harris
On Feb 7, 2021, at 10:58 AM, Paul Offord 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 U

Re: [Wireshark-dev] warning: unused parameter

2021-02-07 Thread Richard Sharpe
On Sun, Feb 7, 2021 at 10:59 AM Paul Offord wrote: > > I submitted some code to GitLab for merging and I got a couple of warnings > from the pipeline that builds in the Ubuntu environment: > > ../sharkd_daemon.c:361:17: warning: unused parameter 'argc' > [-Wunused-parameter] > sharkd_loop(int ar

[Wireshark-dev] warning: unused parameter

2021-02-07 Thread Paul Offord
I submitted some code to GitLab for merging and I got a couple of warnings from the pipeline that builds in the Ubuntu environment: ../sharkd_daemon.c:361:17: warning: unused parameter 'argc' [-Wunused-parameter] sharkd_loop(int argc, char* argv[]) ^ ../sharkd_daemon.c:361:29: warn