https://bugs.exim.org/show_bug.cgi?id=2368
Bug ID: 2368 Summary: Exim 4.91-RC4 compile warning for unused result Product: Exim Version: 4.91 Hardware: x86 OS: Linux Status: NEW Severity: bug Priority: medium Component: Unfiled Assignee: ni...@exim.org Reporter: m...@tubby.org CC: exim-dev@exim.org Exim 4.91-RC4 on Ubuntu 16.04 LTS generates warning for un-used result in SIGUSR1 handler. Proposed fix: root@relay2:~/exim-4.92-RC4/src# diff exim.c exim.c-orig 247,252c247,250 < if (fd >= 0) < { < /* hack to avoid GCC warning for unused result */ < ssize_t dummy1 = write(fd, process_info, process_info_len); < int dummy2 = close(fd); < } --- > if (fd < 0) return; > > (void)write(fd, process_info, process_info_len); > (void)close(fd); root@relay2:~/exim-4.92-RC4/src# -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##