diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-11 06:05:19 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-11 06:05:19 +0300 |
commit | df899f59be6dce15125f6d69ac7d5529ea7ae913 (patch) | |
tree | fb405d9729128b5782d2b0a91ca0d898f8e9a6f1 /input | |
parent | 10efda3b37d9d8f08f097ce335b2f5b1c25dac72 (diff) |
input.c: remove write to buffer[-1] in parse_config()
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 14d31775b0..d03e6ae540 100644 --- a/input/input.c +++ b/input/input.c @@ -1731,7 +1731,6 @@ static int parse_config(struct input_ctx *ictx, char *file) if (bs > (end - buffer)) memmove(buffer, end, bs - (end - buffer)); bs -= (end - buffer); - buffer[bs - 1] = '\0'; continue; } } |