comparison gtk/dw.c @ 2159:48172881415c

GTK: Add DW_UNUSED() macro for defining variables that may be unused. Move the compiler macro section to the top of dw.h for use all over. Use DW_UNUSED() to avoid several expected warnings in the GTK code.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 29 Sep 2020 04:06:20 +0000
parents 2090d7f46de5
children 07f1366a724c
comparison
equal deleted inserted replaced
2158:df3ee6273557 2159:48172881415c
9735 9735
9736 while(1) 9736 while(1)
9737 { 9737 {
9738 FD_ZERO(&rd); 9738 FD_ZERO(&rd);
9739 FD_SET(listenfd, &rd); 9739 FD_SET(listenfd, &rd);
9740 int result; 9740 int DW_UNUSED(result);
9741 9741
9742 maxfd = listenfd; 9742 maxfd = listenfd;
9743 9743
9744 /* Added any connections to the named event semaphore */ 9744 /* Added any connections to the named event semaphore */
9745 for(z=0;z<connectcount;z++) 9745 for(z=0;z<connectcount;z++)