revert compiler warning fix
@@ -1306,7 +1306,6 @@ CreateDictionaryFromDBOptions(DBOptionsAttributes &opts)
PyDict_SetItemString(dict,name,PyString_FromString(opts.GetString(name).c_str()));
break;
case DBOptionsAttributes::Enum:
- {
// If you modify this section, also check the Enum case in
// FillDBOptionsFromDictionary
int enumIndex = opts.GetEnum(name);
@@ -1324,10 +1323,6 @@ CreateDictionaryFromDBOptions(DBOptionsAttributes &opts)
}
PyDict_SetItemString(dict,name,PyString_FromString(itemString.c_str()));
}
- break;
- default:
- PyDict_SetItemString(dict,name,PyString_FromString("**ERROR**:Unknown Option Type"));
- }
delete[] name;
}
return dict;
