]> git.mxchange.org Git - flightgear.git/commitdiff
Remove unused variables
authorfredb <fredb>
Sun, 27 Jul 2008 09:45:33 +0000 (09:45 +0000)
committerfredb <fredb>
Sun, 27 Jul 2008 09:45:33 +0000 (09:45 +0000)
src/Main/fg_init.cxx

index a16407454ce7f64973e130fa5fa4d7b641313f6e..9c7eb9d99c711eb21bcf9b8cd446f62a6c383b1b 100644 (file)
@@ -403,7 +403,7 @@ SGPropertyNode *fgInitLocale(const char *language) {
    SGPropertyNode *strings = c_node->getNode("strings");
    try {
       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");
       return NULL;
    }
@@ -425,7 +425,7 @@ SGPropertyNode *fgInitLocale(const char *language) {
 
       try {
          readProperties(c_path.str(), strings);
-      } catch (const sg_exception &e) {
+      } catch (const sg_exception &) {
          SG_LOG(SG_GENERAL, SG_ALERT,
                  "Unable to read the localized strings from " << c_path.str());
          return NULL;