add CFG_UNKNOWN and use it in the .cpp to quiet coverity

This commit is contained in:
Isaac Connor 2017-12-12 12:35:28 -05:00
parent 49be06d641
commit a0f79b7bf7
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ private:
char *value;
char *type;
mutable enum { CFG_BOOLEAN, CFG_INTEGER, CFG_DECIMAL, CFG_STRING } cfg_type;
mutable enum { CFG_UNKNOWN, CFG_BOOLEAN, CFG_INTEGER, CFG_DECIMAL, CFG_STRING } cfg_type;
mutable union {
bool boolean_value;
int integer_value;