diff options
author | mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-31 16:01:25 +0000 |
---|---|---|
committer | mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-31 16:01:25 +0000 |
commit | caacc8f4e1ff69d545fb55c2a0a1d46e5cdbae3f (patch) | |
tree | b7c934ad34972256189b36ba6ac4e6ae675f4184 /include | |
parent | 29bf8625152c240311f851a8a0df3e543ed824c9 (diff) |
Remove a stray double assign that g++ 4.8 thinks has ill-defined sequencing.
BUG=
R=bungeman@google.com
Review URL: https://codereview.chromium.org/21352003
git-svn-id: http://skia.googlecode.com/svn/trunk@10462 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkTemplates.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkTemplates.h b/include/core/SkTemplates.h index ac67f92c0c..e49cc47ea9 100644 --- a/include/core/SkTemplates.h +++ b/include/core/SkTemplates.h @@ -323,7 +323,7 @@ public: /** Resize the memory area pointed to by the current ptr without preserving contents. */ void reset(size_t count) { sk_free(fPtr); - fPtr = fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); + fPtr = (T*)sk_malloc_flags(count * sizeof(T), SK_MALLOC_THROW | SK_MALLOC_TEMP); } T* get() const { return fPtr; } |