Skip to content

Commit

Permalink
Merge pull request #17 from listout/drop-register-keyword
Browse files Browse the repository at this point in the history
Fix C++17 does not allow register storage class specifier
  • Loading branch information
VolkerEnderlein authored Sep 19, 2023
2 parents faeba6b + b2c7785 commit 52937f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Inventor/Xt/widgets/SoXtGLArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ createColormap(
} * cmapCache;
static int cacheEntries = 0;
static int cacheMalloced = 0;
register int i;
int i;

assert(widget->soxtGLArea.visualInfo);

Expand Down Expand Up @@ -564,7 +564,7 @@ Realize(
Mask * valueMask,
XSetWindowAttributes * attributes)
{
register SoXtGLAreaWidget glw = (SoXtGLAreaWidget) widget;
SoXtGLAreaWidget glw = (SoXtGLAreaWidget) widget;
SoXtGLAreaCallbackStruct cb;
Widget parentShell;
Status status;
Expand Down Expand Up @@ -670,7 +670,7 @@ Destroy(
Widget parentShell;
Status status;
int countReturn;
register int i;
int i;

if (glw->soxtGLArea.myList && glw->soxtGLArea.attribList)
XtFree((char *) glw->soxtGLArea.attribList);
Expand Down

0 comments on commit 52937f7

Please sign in to comment.