Skip to content

Commit

Permalink
lxc-test-concurrent: initialize saveptr before use
Browse files Browse the repository at this point in the history
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
hqhq authored and stgraber committed Dec 10, 2013
1 parent 6472dcc commit 448e272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/concurrent.c
Expand Up @@ -162,7 +162,7 @@ int main(int argc, char *argv[]) {
quiet = 1;
break;
case 'm': {
char *mode_tok, *tok, *saveptr;
char *mode_tok, *tok, *saveptr = NULL;

modes = NULL;
for (i = 0, mode_tok = optarg;
Expand Down

0 comments on commit 448e272

Please sign in to comment.