commit | 2c2508d2ede7e6a8eb43dba0ef2419905ccbb3d8 | [log] [tgz] |
---|---|---|
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jul 29 13:44:30 2011 +0000 |
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Jul 29 13:44:30 2011 +0000 |
tree | 5035faa69e52c6ea64ef95d693cf6af90f609171 | |
parent | e14490adad033991401714252458f7ed9c993ba2 [diff] [blame] |
More variable initializations and curly braces to avoid Linux compiler warnings. git-svn-id: http://skia.googlecode.com/svn/trunk@1993 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleFuzz.cpp b/samplecode/SampleFuzz.cpp index a6495b3..51350be 100644 --- a/samplecode/SampleFuzz.cpp +++ b/samplecode/SampleFuzz.cpp
@@ -45,7 +45,7 @@ } static float make_number() { - float v; + float v = 0; int sel; if (return_large == true && R(3) == 1) sel = R(6); else sel = R(4);