Remove unused variables
This commit is contained in:
parent
b68b751fd4
commit
41f7fc256c
1 changed files with 2 additions and 2 deletions
|
@ -403,7 +403,7 @@ SGPropertyNode *fgInitLocale(const char *language) {
|
||||||
SGPropertyNode *strings = c_node->getNode("strings");
|
SGPropertyNode *strings = c_node->getNode("strings");
|
||||||
try {
|
try {
|
||||||
readProperties(d_path.str(), strings);
|
readProperties(d_path.str(), strings);
|
||||||
} catch (const sg_exception &e) {
|
} catch (const sg_exception &) {
|
||||||
SG_LOG(SG_GENERAL, SG_ALERT, "Unable to read the localized strings");
|
SG_LOG(SG_GENERAL, SG_ALERT, "Unable to read the localized strings");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -425,7 +425,7 @@ SGPropertyNode *fgInitLocale(const char *language) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
readProperties(c_path.str(), strings);
|
readProperties(c_path.str(), strings);
|
||||||
} catch (const sg_exception &e) {
|
} catch (const sg_exception &) {
|
||||||
SG_LOG(SG_GENERAL, SG_ALERT,
|
SG_LOG(SG_GENERAL, SG_ALERT,
|
||||||
"Unable to read the localized strings from " << c_path.str());
|
"Unable to read the localized strings from " << c_path.str());
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue