From 123846779a13f2c8e9742168c1c9384c6dfa5d05 Mon Sep 17 00:00:00 2001
From: Yuta Doi <yuta-d@witz-inc.co.jp>
Date: Fri, 10 Nov 2017 17:39:00 +0900
Subject: 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>
---
 src/libwindowmanager.cpp | 7 ++-----
 1 file 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
 
 /**
-- 
cgit