mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
core: Remove uninitialized warnings from bus-endpoint.c
Gcc is spewing some warnings about uninitialized variables. Let's get rid of the noise.
This commit is contained in:
parent
b88a40a7e5
commit
96f2f3b1b5
@ -34,8 +34,8 @@ int bus_endpoint_new(BusEndpoint **ep)
|
||||
|
||||
int bus_endpoint_add_policy(BusEndpoint *ep, const char *name, BusPolicyAccess access)
|
||||
{
|
||||
_cleanup_free_ BusEndpointPolicy *po;
|
||||
_cleanup_free_ char *key;
|
||||
_cleanup_free_ BusEndpointPolicy *po = NULL;
|
||||
_cleanup_free_ char *key = NULL;
|
||||
int r;
|
||||
|
||||
assert(ep);
|
||||
|
Loading…
Reference in New Issue
Block a user