diff options
| author | cah <cah@ableton.com> | 2022-05-02 19:54:59 +0200 |
|---|---|---|
| committer | cah <cah@ableton.com> | 2022-05-02 21:14:17 +0200 |
| commit | b9daf31fb19ac9f95e431c5bf2cdbf4cba15683a (patch) | |
| tree | bcdcacd1fc247dec4601c5afc68b85d752d51725 /src | |
| parent | c5b8b7e1e229895b8afcb20287f22f90dd8e9d45 (diff) | |
Remove uses of register.
Diffstat (limited to 'src')
| -rwxr-xr-x | src/AS_DCP_AES.cpp | 2 | ||||
| -rwxr-xr-x | src/KM_util.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/AS_DCP_AES.cpp b/src/AS_DCP_AES.cpp index 9f89140..c0bb9f9 100755 --- a/src/AS_DCP_AES.cpp +++ b/src/AS_DCP_AES.cpp @@ -219,7 +219,7 @@ ASDCP::AESDecContext::DecryptBlock(const byte_t* ct_buf, byte_t* pt_buf, ui32_t if ( m_Context.empty() ) return RESULT_INIT; - register h__AESContext* Ctx = m_Context; + h__AESContext* Ctx = m_Context; const byte_t* in_p = ct_buf; byte_t* out_p = pt_buf; diff --git a/src/KM_util.cpp b/src/KM_util.cpp index 210e7ac..2935811 100755 --- a/src/KM_util.cpp +++ b/src/KM_util.cpp @@ -356,8 +356,8 @@ Kumu::base64encode(const byte_t* buf, ui32_t buf_len, char* strbuf, ui32_t strbu i32_t Kumu::base64decode(const char* str, byte_t* buf, ui32_t buf_len, ui32_t* char_count) { - register byte_t c = 0, d = 0; - register ui32_t phase = 0, i = 0; + byte_t c = 0, d = 0; + ui32_t phase = 0, i = 0; if ( str == 0 || buf == 0 || char_count == 0 ) return -1; |
