Removed explicit usage of the 'register' keyword.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/2/head
Michele Calgaro 5 years ago
parent 1179bb286b
commit febf5ba8da
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -516,7 +516,7 @@ void RawDecodingIface::writeRawProfile(png_struct *ping, png_info *ping_info, ch
{ {
png_textp text; png_textp text;
register long i; long i;
uchar *sp; uchar *sp;
@ -576,11 +576,11 @@ void RawDecodingIface::writeRawProfile(png_struct *ping, png_info *ping_info, ch
size_t RawDecodingIface::concatenateString(char *destination, const char *source, const size_t length) size_t RawDecodingIface::concatenateString(char *destination, const char *source, const size_t length)
{ {
register char *q; char *q;
register const char *p; const char *p;
register size_t i; size_t i;
size_t count; size_t count;
@ -617,11 +617,11 @@ size_t RawDecodingIface::concatenateString(char *destination, const char *source
size_t RawDecodingIface::copyString(char *destination, const char *source, const size_t length) size_t RawDecodingIface::copyString(char *destination, const char *source, const size_t length)
{ {
register char *q; char *q;
register const char *p; const char *p;
register size_t i; size_t i;
if ( !destination || !source || length == 0 ) if ( !destination || !source || length == 0 )
return 0; return 0;

Loading…
Cancel
Save