This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
C++ compatibility: eliminate "register" storage class usage
[perl5.git] / cpan / Compress-Raw-Zlib / zlib-src / trees.c
index b26b18c..20d3735 100644 (file)
@@ -1,3 +1,4 @@
+
 /* trees.c -- output deflated data using Huffman coding
  * Copyright (C) 1995-2021 Jean-loup Gailly
  * detect_data_type() function provided freely by Cosmin Truta, 2006
@@ -1139,7 +1140,7 @@ local unsigned bi_reverse(
     unsigned code,
     int len)
 {
-    register unsigned res = 0;
+    unsigned res = 0;
     do {
         res |= code & 1;
         code >>= 1, res <<= 1;