summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-util.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-17 18:42:09 +0200
committerKay Sievers <kay@vrfy.org>2012-04-17 18:42:09 +0200
commit018ef268b1667ba0dbfc15804ab33deed6092147 (patch)
treec700a2aaab583ed1b90abb553c9bcffd142ca07e /src/shared/cgroup-util.c
parent80a5cbace45a6adbf2f9119edc5a4b10db493064 (diff)
silence a bunch of gcc warnings
Diffstat (limited to 'src/shared/cgroup-util.c')
-rw-r--r--src/shared/cgroup-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c
index 3cb41c7c5f..d34c142729 100644
--- a/src/shared/cgroup-util.c
+++ b/src/shared/cgroup-util.c
@@ -514,7 +514,7 @@ static const char *normalize_controller(const char *controller) {
}
static int join_path(const char *controller, const char *path, const char *suffix, char **fs) {
- char *t;
+ char *t = NULL;
if (!(controller || path))
return -EINVAL;