diff options
-rw-r--r-- | src/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |