summaryrefslogtreecommitdiffstats
path: root/amarok/src/engine
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:44 +0900
commit3c3924c909c73c3c4acd51efc42213609b2df0dd (patch)
tree8147e65a6ddca40f915af75fce0aed4d747d386f /amarok/src/engine
parenta42dcb06acb422314bacfc9d1ec3f7abc77b1695 (diff)
downloadamarok-3c3924c909c73c3c4acd51efc42213609b2df0dd.tar.gz
amarok-3c3924c909c73c3c4acd51efc42213609b2df0dd.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'amarok/src/engine')
-rw-r--r--amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h4
-rw-r--r--amarok/src/engine/helix/helix-sp/helix-include/common/include/atomicbase.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h b/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h
index dd841fe2..0dadcf19 100644
--- a/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h
+++ b/amarok/src/engine/helix/helix-sp/helix-include/common/dbgtool/hxassert.h
@@ -616,9 +616,9 @@ class LogInfo
REQUIRE_VOID_RETURN(stmt)
#define REQUIRE_SUCCESS_RETURN_QUIET(expr) \
- do { register HX_RESULT const res = expr; if (FAILED (res)) return res; } while (0)
+ do { HX_RESULT const res = expr; if (FAILED (res)) return res; } while (0)
#define REQUIRE_SUCCESS_RETURN(expr) \
- do { register HX_RESULT const res = expr; if (FAILED (res)) { REQUIRE_REPORT("False condition, Aborting...",__FILE__,__LINE__); return res; } } while (0)
+ do { HX_RESULT const res = expr; if (FAILED (res)) { REQUIRE_REPORT("False condition, Aborting...",__FILE__,__LINE__); return res; } } while (0)
//
// REQUIRE_SUCCESS reports the error if an expected result failed
diff --git a/amarok/src/engine/helix/helix-sp/helix-include/common/include/atomicbase.h b/amarok/src/engine/helix/helix-sp/helix-include/common/include/atomicbase.h
index ba2748f7..08a30791 100644
--- a/amarok/src/engine/helix/helix-sp/helix-include/common/include/atomicbase.h
+++ b/amarok/src/engine/helix/helix-sp/helix-include/common/include/atomicbase.h
@@ -995,8 +995,8 @@ extern "C" {
inline UINT32
HXAtomicIncRetUINT32(register UINT32* pNum)
{
- register UINT32 zeroOffset = 0;
- register UINT32 temp;
+ UINT32 zeroOffset = 0;
+ UINT32 temp;
asm
{
@@ -1013,8 +1013,8 @@ HXAtomicIncRetUINT32(register UINT32* pNum)
inline UINT32
HXAtomicDecRetUINT32(register UINT32* pNum)
{
- register UINT32 zeroOffset = 0;
- register UINT32 temp;
+ UINT32 zeroOffset = 0;
+ UINT32 temp;
asm
{