From c31a16414693a9c40da97f7b4ec4efb4aaed9d79 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 27 Sep 2015 19:35:48 +0000 Subject: Remove useless variable in s6-rc-update --- src/s6-rc/s6-rc-update.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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--) { -- cgit v1.2.3