diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-05 19:19:03 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-12-05 19:19:49 +0100 |
commit | 3c9e3b69c425ff5bad208f2c52c3d4c3aaeaf2f9 (patch) | |
tree | f61a0ea3488c9e3900a25fa2ce443d4cb7e5496d /src | |
parent | d18d350a7fa301d033994b3e5ff608250dc54779 (diff) | |
download | pa-sink-ctl-3c9e3b69c425ff5bad208f2c52c3d4c3aaeaf2f9.tar.gz pa-sink-ctl-3c9e3b69c425ff5bad208f2c52c3d4c3aaeaf2f9.tar.bz2 pa-sink-ctl-3c9e3b69c425ff5bad208f2c52c3d4c3aaeaf2f9.zip |
interface: Fix unitialized variable
Diffstat (limited to 'src')
-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; |