summaryrefslogtreecommitdiff
path: root/src/core/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/socket.c')
-rw-r--r--src/core/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index 9c4943e0bf..4fb4b991e2 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -1410,7 +1410,7 @@ static int socket_chown(Socket *s, pid_t *_pid) {
}
LIST_FOREACH(port, p, s->ports) {
- const char *path;
+ const char *path = NULL;
if (p->type == SOCKET_SOCKET)
path = socket_address_get_path(&p->address);