[Git][NTPsec/ntpsec][master] Squelch a compiler warning.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Nov 5 00:49:19 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
fc6f99be by Eric S. Raymond at 2017-11-04T20:49:05-04:00
Squelch a compiler warning.

- - - - -


1 changed file:

- ntpd/ntp_parser.y


Changes:

=====================================
ntpd/ntp_parser.y
=====================================
--- a/ntpd/ntp_parser.y
+++ b/ntpd/ntp_parser.y
@@ -489,9 +489,9 @@ unpeer_command
 		}
 	|	unpeer_keyword T_Clock T_String optional_unit
 		{
+#ifdef REFCLOCK
 			unpeer_node *my_node;
 
-#ifdef REFCLOCK
 			my_node = create_unpeer_node(addr_from_typeunit($3, $4));
 			if (my_node)
 				APPEND_G_FIFO(cfgt.unpeers, my_node);



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/fc6f99bed61ba147e7db8cd598931fe3ae96924c

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/fc6f99bed61ba147e7db8cd598931fe3ae96924c
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171105/bbb0944a/attachment.html>


More information about the vc mailing list