Remove use of 'register' in C source

No noticable performance change using gcc x86-64 in Java and Python
test-suites.
This commit is contained in:
William S Fulton 2018-05-03 21:29:54 +01:00
commit e7d626d1b4
2 changed files with 22 additions and 22 deletions

View file

@ -81,8 +81,8 @@ static void InitPools() {
* ---------------------------------------------------------------------- */
int DohCheck(const DOH *ptr) {
register Pool *p = Pools;
register char *cptr = (char *) ptr;
Pool *p = Pools;
char *cptr = (char *) ptr;
while (p) {
if ((cptr >= p->pbeg) && (cptr < p->pend)) {
#ifdef DOH_DEBUG_MEMORY_POOLS