mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
libcli/security: Make null_sid static const, not just const
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
7ec569b3a6
commit
16746593db
@ -438,7 +438,7 @@ bool add_rid_to_array_unique(TALLOC_CTX *mem_ctx,
|
||||
|
||||
bool is_null_sid(const struct dom_sid *sid)
|
||||
{
|
||||
const struct dom_sid null_sid = {0};
|
||||
static const struct dom_sid null_sid = {0};
|
||||
return dom_sid_equal(sid, &null_sid);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user