summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-23 12:21:35 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-23 05:58:52 +0200
commit3969cc28e8c33a65f659dbea34486a912103a2bf (patch)
tree836477277c46357bc4df74807b1157dc51e7340d
parentee2642194cc421dd99d15dbe6738e246c1200573 (diff)
downloadsamba-3969cc28e8c33a65f659dbea34486a912103a2bf.tar.gz
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
-rw-r--r--source3/lib/dbwrap/dbwrap_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_cache.c b/source3/lib/dbwrap/dbwrap_cache.c
index 28249464de8..865fcff7a1d 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,