Initialize the variable to something.
--HG-- extra : convert_revision : bfe1e70130719ff239987d725b089c6d7152c541
This commit is contained in:
@@ -40,7 +40,7 @@ using namespace std;
|
||||
int
|
||||
main()
|
||||
{
|
||||
char foo[9];
|
||||
char foo[] = "foo";
|
||||
cprintf("%s\n", foo);
|
||||
|
||||
cprintf("%d\n", 'A');
|
||||
|
||||
Reference in New Issue
Block a user