INN commit: trunk/include/portable (sd-daemon.h)

INN Commit rra at isc.org
Fri Dec 25 22:00:11 UTC 2020


    Date: Friday, December 25, 2020 @ 14:00:11
  Author: iulius
Revision: 10475

Silent a GCC warning for unused value

Modified:
  trunk/include/portable/sd-daemon.h

-------------+
 sd-daemon.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: sd-daemon.h
===================================================================
--- sd-daemon.h	2020-12-25 21:09:29 UTC (rev 10474)
+++ sd-daemon.h	2020-12-25 22:00:11 UTC (rev 10475)
@@ -30,8 +30,8 @@
 #    include <systemd/sd-daemon.h>
 #else
 #    define SD_LISTEN_FDS_START 3
-#    define sd_listen_fds(u)    0
-#    define sd_notify(u, s)     0
+#    define sd_listen_fds(u)    /* empty */
+#    define sd_notify(u, s)     /* empty */
 #endif
 
 #endif /* !PORTABLE_SD_DAEMON_H */



More information about the inn-committers mailing list