1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

libcli: Don't leave a pointer uninitialized

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2020-08-24 22:31:01 +02:00 committed by Jeremy Allison
parent 9b453f475f
commit bb8d333070

View File

@ -31,10 +31,8 @@
*/ */
struct security_token *security_token_initialise(TALLOC_CTX *mem_ctx) struct security_token *security_token_initialise(TALLOC_CTX *mem_ctx)
{ {
struct security_token *st; struct security_token *st = talloc_zero(
mem_ctx, struct security_token);
st = talloc_zero(mem_ctx, struct security_token);
return st; return st;
} }