summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap
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 /source3/lib/dbwrap
parentee2642194cc421dd99d15dbe6738e246c1200573 (diff)
downloadsamba-3969cc28e8c33a65f659dbea34486a912103a2bf.tar.gz
samba-3969cc28e8c33a65f659dbea34486a912103a2bf.tar.bz2
samba-3969cc28e8c33a65f659dbea34486a912103a2bf.zip
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
Diffstat (limited to 'source3/lib/dbwrap')
-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 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,