From b920aadd70ded567518181e8e0931bdf9e3d6db5 Mon Sep 17 00:00:00 2001 From: Moritz Grimm Date: Fri, 22 May 2015 22:34:48 +0200 Subject: [PATCH] Error string argument is no longer used --- src/cfg_encoder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cfg_encoder.c b/src/cfg_encoder.c index a90ca04..b45faf4 100644 --- a/src/cfg_encoder.c +++ b/src/cfg_encoder.c @@ -129,8 +129,10 @@ cfg_encoder_set_format_str(struct cfg_encoder *e, const char *fmt_str, int cfg_encoder_set_program(struct cfg_encoder *e, const char *program, - const char **errstrp) + const char **not_used) { + (void)not_used; + xfree(e->program); if (!program || !program[0])