diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-27 19:35:48 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-27 19:35:48 +0000 |
commit | c31a16414693a9c40da97f7b4ec4efb4aaed9d79 (patch) | |
tree | cdb6255b78ab41243b7cdcecfdc415acd898734d | |
parent | 13c1d66738e8500e92a0172cc3f0a8ccc62b9e3e (diff) | |
download | s6-rc-c31a16414693a9c40da97f7b4ec4efb4aaed9d79.tar.xz |
Remove useless variable in s6-rc-update
-rw-r--r-- | src/s6-rc/s6-rc-update.c | 2 |
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--) { |