Wireshark mailing list archives

A very minor Q re checkAPIs '"name for hf... has trailing space ...' error checking


From: Bill Meier <wmeier () newsguy com>
Date: Wed, 30 Jan 2013 18:38:13 -0500

I've been doing a small update to checkAPIs.pl.

Among other things: I changed the code to remove comments from the source code string before calling check_hf_entries() since the check doesn't detect an hf... entry if it contains a comment.

I now get:

 Error: the name for hf_ppi_vector_rot_x ("ppi_vector.pitch") has
  trailing space in packet-ppi-vector.c

 Error: the name for hf_ppi_vector_rot_y ("ppi_vector.roll") has
  trailing space in packet-ppi-vector.c

 Error: the name for hf_ppi_vector_rot_z ("ppi_vector.heading") has
  trailing space in packet-ppi-vector.c

Looking at packet-ppi-vector.c, I see:

{ "Pitch ", "ppi_vector.pitch", /*extra spaces intentional. casuses field values to align*/
...

In fact, the field values do align when displayed.


So: What to do ?

My inclination would be just to remove the trailing spaces in the three names (labels) since it appears that it's felt that there should not be trailing spaces in field labels.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548

Thoughts ?

Bill

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: