fix to not assign uninitialized array to string
authorMike Reed <reed@google.com>
Sun, 8 Jan 2017 04:08:05 +0000 (23:08 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Sun, 8 Jan 2017 04:55:34 +0000 (04:55 +0000)
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>

tests/PathOpsThreadedCommon.h

index 8fe573f..6cc0c3f 100644 (file)
@@ -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);
     }