summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuta Doi <yuta-d@witz-inc.co.jp>2017-11-10 17:39:00 +0900
committerYuta Doi <yuta-d@witz-inc.co.jp>2017-11-10 17:39:00 +0900
commit123846779a13f2c8e9742168c1c9384c6dfa5d05 (patch)
treef31039fe4443fd0e7f73c6e06814ffaedbce26c1
parentc98ed0fbef242fcc5aad8fde7c3e4d022ce22672 (diff)
Remove unnecessary comments and variable
Remove the comments and variable which are unnecessary and unused already. Change-Id: Id376c1d4a3b6968fed7050662fa5d42b7026bb34 Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
-rw-r--r--src/libwindowmanager.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libwindowmanager.cpp b/src/libwindowmanager.cpp
index e44295c..8c0f901 100644
--- a/src/libwindowmanager.cpp
+++ b/src/libwindowmanager.cpp
@@ -88,7 +88,7 @@ class LibWindowmanager::Impl {
public:
void event(char const *et, json_object *object);
private:
- int runEventLoop();
+ int runEventLoop();
};
namespace {
@@ -153,16 +153,13 @@ void onHangup(void *closure, afb_wsj1 *wsj1) {
UNUSED(closure);
UNUSED(wsj1);
fputs("Hangup, the WindowManager vanished\n", stderr);
- exit(1); // XXX: there should be something ... *better* here.
+ exit(1);
}
constexpr struct afb_wsj1_itf itf = {
onHangup, onCall, onEvent,
};
-// XXX: I am not sure this is the right thing to do though...
-std::recursive_mutex dispatch_mutex;
-
} // namespace
/**