mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Fixed a compiler warning.
(This used to be commit bc0f1c1ec21e69014426e41fb0a5264da63b857a)
This commit is contained in:
parent
3c9e5a9416
commit
12e237da68
@ -234,12 +234,12 @@ int regsubkey_ctr_numkeys( REGSUBKEY_CTR *ctr )
|
||||
Retreive a specific key string
|
||||
**********************************************************************/
|
||||
|
||||
char* regsubkey_ctr_specific_key( REGSUBKEY_CTR *ctr, uint32 index )
|
||||
char* regsubkey_ctr_specific_key( REGSUBKEY_CTR *ctr, uint32 key_index )
|
||||
{
|
||||
if ( ! (index < ctr->num_subkeys) )
|
||||
if ( ! (key_index < ctr->num_subkeys) )
|
||||
return NULL;
|
||||
|
||||
return ctr->subkeys[index];
|
||||
return ctr->subkeys[key_index];
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user