Author: fendrin
Date: Sat Mar 5 13:24:39 2011
New Revision: 48754
URL: http://svn.gna.org/viewcvs/wesnoth?rev=48754&view=rev
Log:
Fixed a warning.
Modified:
trunk/src/game_events.cpp
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=48754&r1=48753&r2=48754&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sat Mar 5 13:24:39 2011
@@ -2507,7 +2507,7 @@
lg::wml_error << "option, input and unit_input conflict
with each other!";
}
- int dlg_result;
+ int dlg_result = 0;
if (!has_text_input && !has_unit_input && options.empty()) {
dlg_result = gui2::show_image_message(left_side,
resources::screen->video(),
caption, cfg["message"], image, false);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits