From 95666d007e0899a61e3a614d92aee0aa7d53cb0c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 12 Mar 2010 15:45:36 +0100 Subject: [PATCH] i3-msg: Initialize message_type (Thanks badboy) --- i3-msg/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3-msg/main.c b/i3-msg/main.c index 4c0efbaa..193d04e9 100644 --- a/i3-msg/main.c +++ b/i3-msg/main.c @@ -107,7 +107,7 @@ static void ipc_recv_message(int sockfd, uint32_t message_type, int main(int argc, char *argv[]) { char *socket_path = "/tmp/i3-ipc.sock"; int o, option_index = 0; - int message_type; + int message_type = I3_IPC_MESSAGE_TYPE_COMMAND; char *payload = ""; bool quiet = false; -- 2.39.5