Skip to content
Snippets Groups Projects
Commit f2f5e820 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve GCC warning: enumeration value ‘SERVER_COUNT’ not handled in switch

parent f169a52f
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3564 passed
......@@ -32,8 +32,10 @@ const char* server_type_desc(enum server_type type)
case SERVER_WEB: return "web";
case SERVER_MAIL: return "mail";
case SERVER_SERVICES: return "srvc";
case SERVER_COUNT:
default:
return "???";
}
return "???";
}
int mqtt_init(struct mqtt* mqtt, scfg_t* cfg, enum server_type type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment