s4:torture/rpc/spoolss_notify.c: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Mar 2010 09:53:15 +0000 (10:53 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 16 Mar 2010 14:35:31 +0000 (15:35 +0100)
metze

source4/torture/rpc/spoolss_notify.c

index 2496244b1a83e931d5ca8d9ce7f71e5d5b29f8ee..d20604eb442719d7e012ac1b9444673ba15ca34a 100644 (file)
@@ -33,7 +33,9 @@
 #include "ntvfs/ntvfs.h"
 #include "param/param.h"
 
-static NTSTATUS spoolss__op_bind(struct dcesrv_call_state *dce_call, const struct dcesrv_interface *iface)
+static NTSTATUS spoolss__op_bind(struct dcesrv_call_state *dce_call,
+                                const struct dcesrv_interface *iface,
+                                uint32_t if_version)
 {
        return NT_STATUS_OK;
 }
@@ -509,7 +511,9 @@ static bool test_RFFPCNEx(struct torture_context *tctx,
        const char *address;
        struct received_packet *tmp;
        struct spoolss_NotifyOption *server_option = setup_printserver_NotifyOption(tctx);
+#if 0
        struct spoolss_NotifyOption *printer_option = setup_printer_NotifyOption(tctx);
+#endif
 
        received_packets = NULL;