diff --git a/source3/registry/reg_db.c b/source3/registry/reg_db.c index 77525e884f0..64a863ceacd 100644 --- a/source3/registry/reg_db.c +++ b/source3/registry/reg_db.c @@ -480,7 +480,6 @@ int regdb_fetch_values( const char* key, REGVAL_CTR *values ) { TDB_DATA data; pstring keystr; - int len; DEBUG(10,("regdb_fetch_values: Looking for value of key [%s] \n", key)); @@ -494,7 +493,7 @@ int regdb_fetch_values( const char* key, REGVAL_CTR *values ) return 0; } - len = regdb_unpack_values( values, data.dptr, data.dsize ); + regdb_unpack_values( values, data.dptr, data.dsize ); SAFE_FREE( data.dptr );