summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-09-08 22:05:17 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-09-08 22:09:41 +0200
commit120d578e5fa11ee3c210121905fb63bc24e3f043 (patch)
treebd6500d2e1d793b29c0454a9f1edff905211a56a /src/core
parent52e231b04635400292179cf51b30d7d9b6323fb2 (diff)
namespace: avoid posible use of uninitialized variable
Diffstat (limited to 'src/core')
-rw-r--r--src/core/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index eaaebdd644..f76d3891c3 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -278,7 +278,7 @@ static int mount_kdbus(BindMount *m) {
char temporary_mount[] = "/tmp/kdbus-dev-XXXXXX";
_cleanup_free_ char *basepath = NULL;
_cleanup_umask_ mode_t u;
- char *busnode, *root;
+ char *busnode = NULL, *root;
struct stat st;
int r;