[systemd-commits] src/libsystemd
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Mon Mar 3 13:40:00 PST 2014
src/libsystemd/sd-bus/bus-track.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4d46396131aa30ede598eb35c3710784745995b4
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Mar 3 22:22:14 2014 +0100
silence warning
diff --git a/src/libsystemd/sd-bus/bus-track.c b/src/libsystemd/sd-bus/bus-track.c
index 4a5056e..fd368e4 100644
--- a/src/libsystemd/sd-bus/bus-track.c
+++ b/src/libsystemd/sd-bus/bus-track.c
@@ -205,7 +205,7 @@ _public_ int sd_bus_track_add_name(sd_bus_track *track, const char *name) {
_public_ int sd_bus_track_remove_name(sd_bus_track *track, const char *name) {
const char *match;
- _cleanup_free_ char *n;
+ _cleanup_free_ char *n = NULL;;
assert_return(name, -EINVAL);
More information about the systemd-commits
mailing list