From 81f9c26a709cab5d00da2f65016c5071f211704c Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Sat, 18 Jun 2022 20:46:43 +0200 Subject: [PATCH] Input server: remove some dead code This does nothing, keep the TODO but remove the useless code. Change-Id: I14611289e1153e406ff7dec93729bceedef7d9af Reviewed-on: https://review.haiku-os.org/c/haiku/+/5384 Tested-by: Commit checker robot Reviewed-by: waddlesplash --- src/servers/input/InputServer.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/servers/input/InputServer.cpp b/src/servers/input/InputServer.cpp index 6013cac81f..ca39b83271 100644 --- a/src/servers/input/InputServer.cpp +++ b/src/servers/input/InputServer.cpp @@ -577,14 +577,8 @@ InputServer::MessageReceived(BMessage* message) case B_SOME_APP_LAUNCHED: { - const char *signature; + // The message contains a be:signature with the app signature // TODO: what's this for? - if (message->FindString("be:signature", &signature)==B_OK) { - PRINT(("input_server : %s\n", signature)); - if (strcmp(signature, "application/x-vnd.Be-TSKB")==0) { - - } - } return; }