summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-08-19 17:47:32 +0200
committerLennart Poettering <lennart@poettering.net>2020-08-19 18:11:00 +0200
commit4428c49db9399f003f0677590531d6a84c0f51ca (patch)
treeebec5eed0478f9add3a39fb8c704c81e3a72ba1a /src
parentcore: merge a few if blocks (diff)
downloadsystemd-4428c49db9399f003f0677590531d6a84c0f51ca.tar.xz
systemd-4428c49db9399f003f0677590531d6a84c0f51ca.zip
mount-setup: drop pointless zero initialization
Diffstat (limited to 'src')
-rw-r--r--src/core/mount-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
index feb88f3e6e..7df1562c8a 100644
--- a/src/core/mount-setup.c
+++ b/src/core/mount-setup.c
@@ -480,7 +480,7 @@ static int relabel_extra(void) {
#endif
int mount_setup(bool loaded_policy, bool leave_propagation) {
- int r = 0;
+ int r;
r = mount_points_setup(ELEMENTSOF(mount_table), loaded_policy);
if (r < 0)