The register keyword is deprecated in C++, even at -O0, registers are used automatically.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 Dec 2013 23:51:11 +0000 (23:51 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 16 Dec 2013 23:51:11 +0000 (23:51 +0000)
commit46ec81572bcbf4d80a6ffb607d9159d3212de9d5
tree6e3a0819d1621cb7629254091ac624b21b747721
parentc285864fb71f24033d0226062ddeb9ded4d18fec
The register keyword is deprecated in C++, even at -O0, registers are used automatically.

Having the register keyword there causes a warning about deprecated keywords when using clang (and possibly future gcc versions), and isn't needed.

Patch originally submitted to AOSP
https://android-review.googlesource.com/#/c/72501

R=mtklein@google.com, scroggo@google.com, reed@google.com

Author: djsollen@google.com

Review URL: https://codereview.chromium.org/93703005

git-svn-id: http://skia.googlecode.com/svn/trunk@12702 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkFixed.h