Initialize the variable to something.

--HG--
extra : convert_revision : bfe1e70130719ff239987d725b089c6d7152c541
This commit is contained in:
Nathan Binkert 2007-02-06 22:32:37 -08:00
parent 38db47005c
commit a19e9ea5fc

View file

@ -40,7 +40,7 @@ using namespace std;
int
main()
{
char foo[9];
char foo[] = "foo";
cprintf("%s\n", foo);
cprintf("%d\n", 'A');