i3-msg: Initialize message_type (Thanks badboy)
This commit is contained in:
parent
77fe1f29b0
commit
95666d007e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue