Don't put a comma after the last item in an enum list.

C prior to C99 and C++ prior to C++11 don't allow a comma there; we
require C99, at least on UN*X, but don't require C++11.

Change-Id: Ia652de44315d4d87e75f583317b7b1069c8804e7
Reviewed-on: https://code.wireshark.org/review/26411
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-03-09 21:19:26 -08:00
parent b8375119e3
commit b9f203c1da
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ typedef enum
ENDP_COLUMN_GEO_CITY,
ENDP_COLUMN_GEO_AS_NUM,
ENDP_COLUMN_GEO_AS_ORG,
ENDP_NUM_GEO_COLUMNS,
ENDP_NUM_GEO_COLUMNS
} endpoint_column_type_e;
extern const char *endp_column_titles[ENDP_NUM_GEO_COLUMNS];