From 3e62ac1993dc8f3315115c12dfe12abec84b96c9 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 19 Jul 2009 10:13:14 +0200 Subject: Apparently, this function shouldn't return anything --- src/gui/statuswindow.cpp | 6 +----- src/gui/statuswindow.h | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index 18f1ceb3..4df474a7 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -199,14 +199,10 @@ void StatusWindow::update() update(); } -std::string StatusWindow::update(int id) +void StatusWindow::update(int id) { // TODO: only update what changed update(); - - // FIXME: Added the return value to be able to compile, haven't got a - // clue what it is supposed to return (Kess, July 2009) - return ""; } void StatusWindow::addAttribute(int id, const std::string &name, diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h index d5bd8fd6..b7623806 100644 --- a/src/gui/statuswindow.h +++ b/src/gui/statuswindow.h @@ -54,7 +54,7 @@ class StatusWindow : public Window, public gcn::ActionListener */ void update(); - std::string update(int id); + void update(int id); void addAttribute(int id, const std::string &name, bool modifiable); -- cgit v1.2.3-70-g09d2