Initialize the variable to something.
--HG-- extra : convert_revision : bfe1e70130719ff239987d725b089c6d7152c541
This commit is contained in:
parent
38db47005c
commit
a19e9ea5fc
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ using namespace std;
|
|||
int
|
||||
main()
|
||||
{
|
||||
char foo[9];
|
||||
char foo[] = "foo";
|
||||
cprintf("%s\n", foo);
|
||||
|
||||
cprintf("%d\n", 'A');
|
||||
|
|
Loading…
Reference in a new issue