remove register keyword from jdhuff for C++17 (#1612)

the register storage specifier was deprecated in C++11 and removed in C++17
This commit is contained in:
Thomas Peters 2019-01-04 22:38:55 -05:00 committed by Davis E. King
parent 61a021c932
commit fb4c62cc67

View File

@ -293,7 +293,7 @@ jpeg_make_d_derived_tbl (j_decompress_ptr cinfo, int isDC, int tblno,
GLOBAL(int)
jpeg_fill_bit_buffer (bitread_working_state * state,
bit_buf_type get_buffer, register int bits_left,
bit_buf_type get_buffer, int bits_left,
int nbits)
/* Load up the bit buffer to a depth of at least nbits */
{
@ -399,7 +399,7 @@ jpeg_fill_bit_buffer (bitread_working_state * state,
GLOBAL(int)
jpeg_huff_decode (bitread_working_state * state,
bit_buf_type get_buffer, register int bits_left,
bit_buf_type get_buffer, int bits_left,
d_derived_tbl * htbl, int min_bits)
{
int l = min_bits;