Added a couple of NMH_UNUSED's to suppress warnings when building without Cyrus SASL.
authorDavid Levine <levinedl@acm.org>
Fri, 17 Feb 2012 04:56:02 +0000 (22:56 -0600)
committerDavid Levine <levinedl@acm.org>
Fri, 17 Feb 2012 04:56:02 +0000 (22:56 -0600)
uip/popsbr.c

index fcdbd75..feb7aa0 100644 (file)
@@ -418,6 +418,11 @@ int
 pop_init (char *host, char *port, char *user, char *pass, char *proxy,
          int snoop, int sasl, char *mech)
 {
+#ifndef CYRUS_SASL
+    NMH_UNUSED (sasl);
+    NMH_UNUSED (mech);
+#endif /* ! CYRUS_SASL */
+
     int fd1, fd2;
     char buffer[BUFSIZ];