mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
messaging_dgm: Remove an unnecessary cast
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
0cd4561ab1
commit
188120b08c
@ -85,8 +85,7 @@ static int messaging_dgm_lockfile_create(TALLOC_CTX *tmp_ctx,
|
||||
return ret;
|
||||
}
|
||||
|
||||
lockfile_name = messaging_dgm_lockfile_name(tmp_ctx, cache_dir,
|
||||
(unsigned)pid);
|
||||
lockfile_name = messaging_dgm_lockfile_name(tmp_ctx, cache_dir, pid);
|
||||
if (lockfile_name == NULL) {
|
||||
return ENOMEM;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user