author | Olivier Brunel
<jjk@jjacky.com> 2015-11-06 18:54:30 UTC |
committer | Olivier Brunel
<jjk@jjacky.com> 2015-11-12 17:04:19 UTC |
parent | eadd56c580dc1e573ad758115a1261fac8f6a2f3 |
src/libanopa/enable_service.c | +0 | -2 |
diff --git a/src/libanopa/enable_service.c b/src/libanopa/enable_service.c index 762138a..28a0e61 100644 --- a/src/libanopa/enable_service.c +++ b/src/libanopa/enable_service.c @@ -654,8 +654,6 @@ aa_enable_service (const char *_name, /* if name is a /path/to/file we get the actual/service name */ if (*name == '/') { - int r; - if (l_name == 1) return -ERR_INVALID_NAME; r = byte_rchr (name, l_name, '/') + 1;