aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-01-07 23:08:05 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-08 04:55:34 +0000
commitf4c5ce9d9cf30ee5ac74764a8bcf4ba5df7b5ccf (patch)
tree8bc087ab0975d8fe1ed1d36f4c4c85b01fb23b39 /tests
parentff80c2ab305a25434d17fbcbec02b20d69b05227 (diff)
fix to not assign uninitialized array to string
fixes https://skia-review.googlesource.com/c/6727/ BUG=skia: Change-Id: I8b8f79174ec32a1fa9d17dec4f5c812f70b83fbe Reviewed-on: https://skia-review.googlesource.com/6731 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/PathOpsThreadedCommon.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/PathOpsThreadedCommon.h b/tests/PathOpsThreadedCommon.h
index 8fe573f722..6cc0c3f4ee 100644
--- a/tests/PathOpsThreadedCommon.h
+++ b/tests/PathOpsThreadedCommon.h
@@ -80,8 +80,6 @@ public:
void operator()() {
SkBitmap bitmap;
fState.fBitmap = &bitmap;
- char pathStr[PATH_STR_SIZE];
- fState.fPathStr = pathStr;
SkGraphics::SetTLSFontCacheLimit(1 * 1024 * 1024);
(*fTestFun)(&fState);
}