mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
smbd: Fix a warning
gcc complains that the "const" is ignored on function return types. Right now I'm compiling this file a lot, so silence this warning :-) Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
826a212771
commit
e22d5e5b7f
@ -142,7 +142,7 @@ static TDB_DATA locking_key(const struct file_id *id)
|
||||
necessary we can always make this a separate (smaller) cache.
|
||||
******************************************************************/
|
||||
|
||||
static const DATA_BLOB memcache_key(const struct file_id *id)
|
||||
static DATA_BLOB memcache_key(const struct file_id *id)
|
||||
{
|
||||
return data_blob_const((const void *)id, sizeof(*id));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user