17 lines
490 B
Plaintext
17 lines
490 B
Plaintext
$OpenBSD: patch-src_game_cpp,v 1.2 2010/10/12 20:33:18 jasper Exp $
|
|
|
|
Prevent compilation error on arm:
|
|
game.cpp:1307: warning: `int res' might be used uninitialized in this function
|
|
|
|
--- src/game.cpp.orig Sun Jul 18 12:10:00 2010
|
|
+++ src/game.cpp Wed Aug 18 20:36:32 2010
|
|
@@ -1157,7 +1157,7 @@ void game_controller::start_wesnothd()
|
|
|
|
bool game_controller::play_multiplayer()
|
|
{
|
|
- int res;
|
|
+ int res = 0;
|
|
|
|
state_ = game_state();
|
|
state_.classification().campaign_type = "multiplayer";
|