[enum types] add *_RESERVED = 0 entries

eliminate warnings with initializing a struct with = { 0 } due to enum
members that do not define the value 0
This commit is contained in:
akallabeth 2023-11-24 09:05:25 +01:00 committed by akallabeth
parent dd03f49ed2
commit 5ffaf12748
3 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ extern "C"
typedef enum
{
RDP_NETCHAR_RESERVED = 0x0000U,
/* The baseRTT and averageRTT fields are valid */
RDP_NETCHAR_RESULT_TYPE_BASE_RTT_AVG_RTT = 0x0840U,
/* The bandwidth and averageRTT fields are valid */

View File

@ -33,6 +33,7 @@ extern "C"
typedef enum
{
PDUTYPE_LOC_RESERVED = 0x0000,
PDUTYPE_SERVER_READY = 0x0001,
PDUTYPE_CLIENT_READY = 0x0002,
PDUTYPE_BASE_LOCATION3D = 0x0003,

View File

@ -34,6 +34,7 @@ extern "C"
typedef enum
{
PDUTYPE_EMSC_RESERVED = 0x00,
PDUTYPE_CS_CAPS_ADVERTISE = 0x01,
PDUTYPE_SC_CAPS_CONFIRM = 0x02,
PDUTYPE_SC_MOUSEPTR_UPDATE = 0x03,