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...@gmail.com
> 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@wireshark.org>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-requ...@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-requ...@wireshark.org?subject=unsubscribe

Reply via email to