summaryrefslogtreecommitdiff
path: root/src/libs6rc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-10-27 20:26:44 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-10-27 20:26:44 +0000
commit6f0a6fcdb97c4a945e1491828d9d8314884f08ef (patch)
treedfca261088ac886001e98ca4b39447deb698f033 /src/libs6rc
parentd8396a4b4faebac030b319daf9edf139c4ecf40d (diff)
downloads6-rc-6f0a6fcdb97c4a945e1491828d9d8314884f08ef.tar.xz
- appease gcc, which still doesn't understand data flow across gotos, in s6rc_lock
- document proper service stubbing for OpenRC
Diffstat (limited to 'src/libs6rc')
-rw-r--r--src/libs6rc/s6rc_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6rc/s6rc_lock.c b/src/libs6rc/s6rc_lock.c
index 234df9f..75a22be 100644
--- a/src/libs6rc/s6rc_lock.c
+++ b/src/libs6rc/s6rc_lock.c
@@ -8,7 +8,7 @@
int s6rc_lock (char const *live, int lwhat, int *llfd, char const *compiled, int cwhat, int *ccfd)
{
- int e ;
+ int e = 0 ;
int lfd = -1, cfd = -1 ;
if (lwhat)