Removed explicit usage of the 'register' keyword.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d72b28bb90)
r14.0.x
Michele Calgaro 4 years ago
parent f20c9bbc55
commit e7edb92ed2
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -133,7 +133,7 @@ void ChecksumVerifierThread::checkSFV(const TQString &sfvfile, const TQString &f
}
}
inline long ChecksumVerifierThread::UpdateCRC(register unsigned long CRC, register char *buffer, register long count)
inline long ChecksumVerifierThread::UpdateCRC(unsigned long CRC, char *buffer, long count)
{
unsigned long CRCTABLE[] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
@ -196,7 +196,7 @@ inline long ChecksumVerifierThread::UpdateCRC(register unsigned long CRC, regist
long ChecksumVerifierThread::getFileCRC(const char *filename)
{
register unsigned long crc = 0xffffffff;
unsigned long crc = 0xffffffff;
FILE *f;
long totalread = 0;
long localread;

@ -127,7 +127,7 @@ private:
void checkSFV(const TQString &sfvfile, const TQString &fileToCheck = TQString::null);
static inline long UpdateCRC(register unsigned long CRC, register char *buffer, register long count);
static inline long UpdateCRC(unsigned long CRC, char *buffer, long count);
static long getFileCRC(const char *filename);
};

@ -569,7 +569,7 @@ public:
TQString destinationDir = destinationFile.directory();
TQString fullPath;
for (register int i = 1; i <= destinationDir.contains('/'); i++) {
for (int i = 1; i <= destinationDir.contains('/'); i++) {
fullPath += "/" + destinationDir.section('/', i, i);
// Create the directory

Loading…
Cancel
Save