From 3c9e3b69c425ff5bad208f2c52c3d4c3aaeaf2f9 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 5 Dec 2011 19:19:03 +0100 Subject: interface: Fix unitialized variable --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/interface.c b/src/interface.c index a90354f..60c4468 100644 --- a/src/interface.c +++ b/src/interface.c @@ -60,7 +60,7 @@ static sink_input_info * sink_get_nth_input(struct context *ctx, sink_info *sink, int n) { GList *l; - int i; + int i = 0; for (l = ctx->input_list; l; l = l->next) { sink_input_info *input = l->data; -- cgit