remove "register" keyword
authorJohann <johann.koenig@duck.com>
Fri, 26 Oct 2018 21:55:26 +0000 (14:55 -0700)
committerJohann <johann.koenig@duck.com>
Fri, 26 Oct 2018 21:55:26 +0000 (14:55 -0700)
This has been deprecated for a long time. c++17 is trying to recover the name.

Change-Id: Iade6bebce03a50b76061695f9e634a107cd989cd

md5_utils.c
vp8/decoder/treereader.h

index 093798b..9ddb104 100644 (file)
@@ -163,7 +163,7 @@ void MD5Final(md5byte digest[16], struct MD5Context *ctx) {
  */
 VPX_NO_UNSIGNED_OVERFLOW_CHECK void MD5Transform(UWORD32 buf[4],
                                                  UWORD32 const in[16]) {
-  register UWORD32 a, b, c, d;
+  UWORD32 a, b, c, d;
 
   a = buf[0];
   b = buf[1];
index 1e27f29..4bf938a 100644 (file)
@@ -30,7 +30,7 @@ typedef BOOL_DECODER vp8_reader;
 static INLINE int vp8_treed_read(
     vp8_reader *const r, /* !!! must return a 0 or 1 !!! */
     vp8_tree t, const vp8_prob *const p) {
-  register vp8_tree_index i = 0;
+  vp8_tree_index i = 0;
 
   while ((i = t[i + vp8_read(r, p[i >> 1])]) > 0) {
   }