From 3969cc28e8c33a65f659dbea34486a912103a2bf Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 23 Apr 2012 12:21:35 +1000 Subject: 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 Autobuild-Date: Mon Apr 23 05:58:52 CEST 2012 on sn-devel-104 --- source3/lib/dbwrap/dbwrap_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/dbwrap/dbwrap_cache.c b/source3/lib/dbwrap/dbwrap_cache.c index 28249464de..865fcff7a1 100644 --- a/source3/lib/dbwrap/dbwrap_cache.c +++ b/source3/lib/dbwrap/dbwrap_cache.c @@ -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, -- cgit