From: Michael Stapelberg Date: Fri, 12 Mar 2010 14:45:36 +0000 (+0100) Subject: i3-msg: Initialize message_type (Thanks badboy) X-Git-Tag: 3.e~6^2~85 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95666d007e0899a61e3a614d92aee0aa7d53cb0c;p=i3%2Fi3 i3-msg: Initialize message_type (Thanks badboy) --- 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;