diff options
author | Cedric Borgese <cedric.borgese@gmail.com> | 2005-10-23 12:13:14 +0000 |
---|---|---|
committer | Cedric Borgese <cedric.borgese@gmail.com> | 2005-10-23 12:13:14 +0000 |
commit | 6ec436c305a5eda73824534b2189c88c0deb8aa4 (patch) | |
tree | 31c834115cf6a8797030fa68d53b27d8a299dcb3 | |
parent | ce2813cb1f4988669422c6af3e8c4442776e45c8 (diff) | |
download | mana-6ec436c305a5eda73824534b2189c88c0deb8aa4.tar.gz mana-6ec436c305a5eda73824534b2189c88c0deb8aa4.tar.bz2 mana-6ec436c305a5eda73824534b2189c88c0deb8aa4.tar.xz mana-6ec436c305a5eda73824534b2189c88c0deb8aa4.zip |
Fix a warning and a possible segmentation fault.
-rw-r--r-- | src/gui/menuwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp index cf917116..ed32f61d 100644 --- a/src/gui/menuwindow.cpp +++ b/src/gui/menuwindow.cpp @@ -100,7 +100,7 @@ void MenuWindow::draw(gcn::Graphics *g) void MenuWindowListener::action(const std::string& eventId) { - Window *window; + Window *window = NULL; if (eventId == "Status") { window = statusWindow; |