diff options
author | Gerald Carter <jerry@samba.org> | 2002-09-10 21:41:25 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-09-10 21:41:25 +0000 |
commit | f1be21f211143b0108fc814c01c10f6d36635929 (patch) | |
tree | ec007b12350d87eccb31419685402892d7acde1e /source3 | |
parent | 5d390fc5c7b1ac4374ee65b546f9e80b9ee0eee1 (diff) | |
download | samba-f1be21f211143b0108fc814c01c10f6d36635929.tar.gz samba-f1be21f211143b0108fc814c01c10f6d36635929.tar.bz2 samba-f1be21f211143b0108fc814c01c10f6d36635929.zip |
removed warning about shadowed globals
(This used to be commit 8021bbbd0c5fad6db45a4c862848ea667cad0b79)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 07c22b063a..8b5dcd3b6c 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -774,15 +774,15 @@ static TALLOC_CTX* notify_ctr_getctx( SPOOLSS_NOTIFY_MSG_CTR *ctr ) /*********************************************************************** **********************************************************************/ -static SPOOLSS_NOTIFY_MSG_GROUP* notify_ctr_getgroup( SPOOLSS_NOTIFY_MSG_CTR *ctr, uint32 index ) +static SPOOLSS_NOTIFY_MSG_GROUP* notify_ctr_getgroup( SPOOLSS_NOTIFY_MSG_CTR *ctr, uint32 idx ) { if ( !ctr || !ctr->msg_groups ) return NULL; - if ( index >= ctr->num_groups ) + if ( idx >= ctr->num_groups ) return NULL; - return &ctr->msg_groups[index]; + return &ctr->msg_groups[idx]; } @@ -865,11 +865,11 @@ static int notify_msg_ctr_addmsg( SPOOLSS_NOTIFY_MSG_CTR *ctr, SPOOLSS_NOTIFY_MS back registered **********************************************************************/ -static void send_notify2_changes( SPOOLSS_NOTIFY_MSG_CTR *ctr, uint32 index ) +static void send_notify2_changes( SPOOLSS_NOTIFY_MSG_CTR *ctr, uint32 idx ) { Printer_entry *p; TALLOC_CTX *mem_ctx = notify_ctr_getctx( ctr ); - SPOOLSS_NOTIFY_MSG_GROUP *msg_group = notify_ctr_getgroup( ctr, index ); + SPOOLSS_NOTIFY_MSG_GROUP *msg_group = notify_ctr_getgroup( ctr, idx ); SPOOLSS_NOTIFY_MSG *messages; |