Fix clang -Wextra except -Wunused-parameter.

Cleared all warnings that occur when passing
CFLAGS="-Wall -Wextra -Wno-unused-parameter" to make using clang 3.3 on
Linux x86-64.
This commit is contained in:
Peter Boström
2013-12-25 20:01:37 +01:00
committed by Michael Stapelberg
parent ac74a63662
commit 9c15b9504e
23 changed files with 35 additions and 35 deletions

View File

@ -33,7 +33,7 @@ int ipc_send_message(int sockfd, const uint32_t message_size,
.type = message_type
};
int sent_bytes = 0;
size_t sent_bytes = 0;
int n = 0;
/* This first loop is basically unnecessary. No operating system has