1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3-dbwrap: A void function can not return a value

Only non-gcc compilers seem to notice this as an error.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Apr 23 05:58:52 CEST 2012 on sn-devel-104
This commit is contained in:
Andrew Bartlett 2012-04-23 12:21:35 +10:00
parent ee2642194c
commit 3969cc28e8

View File

@ -178,7 +178,7 @@ static void dbwrap_cache_id(struct db_context *db, const uint8_t **id,
{
struct db_cache_ctx *ctx = talloc_get_type_abort(
db->private_data, struct db_cache_ctx);
return dbwrap_db_id(ctx->backing, id, idlen);
dbwrap_db_id(ctx->backing, id, idlen);
}
struct db_context *db_open_cache(TALLOC_CTX *mem_ctx,