s3 build: Fix warning
authorTim Prouty <tprouty@samba.org>
Tue, 30 Dec 2008 20:53:34 +0000 (12:53 -0800)
committerTim Prouty <tprouty@samba.org>
Tue, 30 Dec 2008 20:53:34 +0000 (12:53 -0800)
source3/smbd/server.c

index cfdd05ba2f2d146833f984fa0b261c319f0a52bf..254180ae1ca2603d47ba7f55401a76990a7ea220 100644 (file)
@@ -59,6 +59,7 @@ int get_client_fd(void)
        return server_fd;
 }
 
+#ifdef CLUSTER_SUPPORT
 static int client_get_tcp_info(struct sockaddr_storage *server,
                               struct sockaddr_storage *client)
 {
@@ -76,6 +77,7 @@ static int client_get_tcp_info(struct sockaddr_storage *server,
        }
        return 0;
 }
+#endif
 
 struct event_context *smbd_event_context(void)
 {