tests: resolve new compiler warnings

Change-Id: I57f6602a9fe9e8524f7da4320b0d1a46889b90d6
This commit is contained in:
David van Moolenbroek 2015-07-28 13:24:44 +00:00
parent 1facb0487c
commit ea69bfc71d
3 changed files with 2 additions and 4 deletions

View file

@ -50,7 +50,6 @@ static void callback_cleanup(void) {
int main(int argc, char *argv[])
{
int i;
struct sockaddr_in clientaddr = {
.sin_family = AF_INET,
.sin_port = htons(PORT1),

View file

@ -50,7 +50,6 @@ static void callback_cleanup(void) {
int main(int argc, char *argv[])
{
int i;
struct sockaddr_in clientaddr = {
.sin_family = AF_INET,
.sin_port = htons(PORT1),

View file

@ -170,8 +170,8 @@ static char *sigstr_itoa(char *p, unsigned long n) {
return p;
}
#if 0
static void dbgprintdata(const void *data, size_t size) {
#if DEBUG
size_t addr;
const unsigned char *p = data;
@ -184,8 +184,8 @@ static void dbgprintdata(const void *data, size_t size) {
}
fprintf(stderr, "\n");
fflush(stderr);
#endif
}
#endif
static void dbgprint_sig(const char *name) {
#if DEBUG