diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-06-02 01:29:42 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-06-02 08:30:16 +0000 |
commit | 974f985bd9716cf8d0144099bd7c052f866c1a2b (patch) | |
tree | 467001d4535c2ef1f9c4140f76ef1d63ae21d534 /epan/dissectors/packet-epl.c | |
parent | 10e59dba2b1ee123b4fdfbee288b486471cc68e0 (diff) |
Add SUBOBJECT_INITIALIZER and use it.
Just as we have OD_ENTRY_INITIALIZER, add SUBOBJECT_INITIALIZER, and use
it rather than memset().
Whether removing initializer warnings is a Good Thing is subject to
debate; remove a comment that implies it's been deemed a Good Thing.
Change-Id: Ife658d8bb1d4868789ca3b929aff6e4fccecb430
Reviewed-on: https://code.wireshark.org/review/21892
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-epl.c')
-rw-r--r-- | epan/dissectors/packet-epl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c index 00bab8b874..589ea7d71c 100644 --- a/epan/dissectors/packet-epl.c +++ b/epan/dissectors/packet-epl.c @@ -1333,7 +1333,6 @@ struct object_mapping { const char *index_name; const char *title; }; -/* XXX hopefully temporary till -Wmissing-field-initializers and -Wmissing-braces are ignored */ #define OBJECT_MAPPING_INITIALIZER { { 0, 0 }, { 0, 0 }, 0, 0, 0, { 0, 0 }, 0, 0, 0 } #define CONVO_FOR_RESPONSE 1 |