Overdrivr / Telemetry

Data visualization and communication with embedded devices
MIT License
136 stars 27 forks source link

'TM_string not handled in switch' compiler warning #53

Open slightlynybbled opened 8 years ago

slightlynybbled commented 8 years ago

telemetry_core.c

void try_update_hashtable(TM_msg * msg)

During compilation: "warning: enumeration value 'TM_string' not handled in switch"

May want to include a default case or explicitly handle this case to reduce compiler warnings. I realize that it is only one warning, but larger projects can end up with many such warnings which can cause documentation to have to be written to justify leaving the warning or cause someone to fork your repository without keeping it up.