Author: mordante
Date: Sun Mar 6 20:08:03 2011
New Revision: 48799
URL: http://svn.gna.org/viewcvs/wesnoth?rev=48799&view=rev
Log:
Rethrow original exception instead of a copy.
Issue found by cppcheck.
Modified:
trunk/src/variable.cpp
Modified: trunk/src/variable.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/variable.cpp?rev=48799&r1=48798&r2=48799&view=diff
==============================================================================
--- trunk/src/variable.cpp (original)
+++ trunk/src/variable.cpp Sun Mar 6 20:08:03 2011
@@ -269,7 +269,7 @@
res.add_child("insert_tag",
insert_cfg.get_config());
} else {
// throw to the top [insert_tag] which
started the recursion
- throw err;
+ throw;
}
}
} else {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits