i3-msg: Initialize message_type (Thanks badboy)

next
Michael Stapelberg 2010-03-12 15:45:36 +01:00
parent 77fe1f29b0
commit 95666d007e
1 changed files with 1 additions and 1 deletions

View File

@ -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;