comparison gtk3/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 df3ee6273557
children 07f1366a724c
comparison
equal deleted inserted replaced
2158:df3ee6273557 2159:48172881415c
8382 8382
8383 while(1) 8383 while(1)
8384 { 8384 {
8385 FD_ZERO(&rd); 8385 FD_ZERO(&rd);
8386 FD_SET(listenfd, &rd); 8386 FD_SET(listenfd, &rd);
8387 int result; 8387 int DW_UNUSED(result);
8388 8388
8389 maxfd = listenfd; 8389 maxfd = listenfd;
8390 8390
8391 /* Added any connections to the named event semaphore */ 8391 /* Added any connections to the named event semaphore */
8392 for(z=0;z<connectcount;z++) 8392 for(z=0;z<connectcount;z++)