summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-09-27 19:35:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-09-27 19:35:48 +0000
commitc31a16414693a9c40da97f7b4ec4efb4aaed9d79 (patch)
treecdb6255b78ab41243b7cdcecfdc415acd898734d /src
parent13c1d66738e8500e92a0172cc3f0a8ccc62b9e3e (diff)
downloads6-rc-c31a16414693a9c40da97f7b4ec4efb4aaed9d79.tar.xz
Remove useless variable in s6-rc-update
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc-update.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/s6-rc/s6-rc-update.c b/src/s6-rc/s6-rc-update.c
index 66c956f..495bea5 100644
--- a/src/s6-rc/s6-rc-update.c
+++ b/src/s6-rc/s6-rc-update.c
@@ -65,7 +65,6 @@ static inline void parse_line (stralloc *sa, char const *s, unsigned int slen, u
{
unsigned int base = sa->len ;
unsigned int oldn = olddb->nshort + olddb->nlong ;
- unsigned int max ;
int n ;
if (!stralloc_readyplus(sa, slen)) dienomem() ;
sa->len += slen ;
@@ -77,7 +76,6 @@ static inline void parse_line (stralloc *sa, char const *s, unsigned int slen, u
case -3 : strerr_dief2x(100, "mismatched braces in conversion file: ", s) ;
default : break ;
}
- max = sa->len ;
sa->len = base ;
if (n--)
{