Wireshark-dev: Re: [Wireshark-dev] checkapi prefs

From: Ahmad Fatoum <ahmad@xxxxxx>
Date: Tue, 8 Aug 2017 12:54:39 +0200
prefs_register_*_preference populates a variable with a user-supplied value. And having more than one preference populate the same variable is usually not what you want.
But the actual definitions of the function do just that: They use the same variable name and similar types for the variable.

I will submit a fix shortly. Thanks for reporting.

Cheers,
Ahmad


On Tue, Aug 8, 2017 at 11:33 AM, Dario Lombardo <dario.lombardo.ml@xxxxxxxxx> wrote:
I've got this error from checkAPI_epan target:

prefs.c: error: found these preference variables used in more than one prefs_register_*_preference:
guint *var, const char **var, , range_t **var

I can't figure out what does it mean. Can anyone help?

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
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