s3-spoolss: remove unused struct in construct_notify_printer_info().
authorGünther Deschner <gd@samba.org>
Thu, 5 May 2011 19:52:57 +0000 (21:52 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 6 May 2011 10:07:17 +0000 (12:07 +0200)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May  6 12:07:17 CEST 2011 on sn-devel-104

source3/rpc_server/spoolss/srv_spoolss_nt.c

index c88faa363f208a0596c24fab43531e5e840455c9..38523fc495429299d280cd706f136fbf8aafee13 100644 (file)
@@ -3406,7 +3406,6 @@ static bool construct_notify_printer_info(struct messaging_context *msg_ctx,
        uint16_t field;
 
        struct spoolss_Notify *current_data;
-       print_queue_struct *queue=NULL;
 
        type = option_type->type;
 
@@ -3440,7 +3439,7 @@ static bool construct_notify_printer_info(struct messaging_context *msg_ctx,
                           pinfo2->printername));
 
                notify_info_data_table[j].fn(msg_ctx, snum, current_data,
-                                            queue, pinfo2, mem_ctx);
+                                            NULL, pinfo2, mem_ctx);
 
                info->count++;
        }