projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38db470
)
Initialize the variable to something.
author
Nathan Binkert
<binkertn@umich.edu>
Wed, 7 Feb 2007 06:32:37 +0000
(22:32 -0800)
committer
Nathan Binkert
<binkertn@umich.edu>
Wed, 7 Feb 2007 06:32:37 +0000
(22:32 -0800)
--HG--
extra : convert_revision :
bfe1e70130719ff239987d725b089c6d7152c541
src/unittest/cprintftest.cc
patch
|
blob
|
history
diff --git
a/src/unittest/cprintftest.cc
b/src/unittest/cprintftest.cc
index a454be05e799d5a873eca426f7fc82bba2456534..7fb10375ce9f11a02f49bc201c7baaf8af8b642a 100644
(file)
--- a/
src/unittest/cprintftest.cc
+++ b/
src/unittest/cprintftest.cc
@@
-40,7
+40,7
@@
using namespace std;
int
main()
{
- char foo[
9]
;
+ char foo[
] = "foo"
;
cprintf("%s\n", foo);
cprintf("%d\n", 'A');