mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Fixed a compiler warning.
This commit is contained in:
@ -234,12 +234,12 @@ int regsubkey_ctr_numkeys( REGSUBKEY_CTR *ctr )
|
|||||||
Retreive a specific key string
|
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 NULL;
|
||||||
|
|
||||||
return ctr->subkeys[index];
|
return ctr->subkeys[key_index];
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
Reference in New Issue
Block a user