dtprintinfo: remove register keyword

This commit is contained in:
Jon Trulson
2018-06-27 17:32:57 -06:00
parent f0a6172d3f
commit 3096ad03a8

View File

@@ -129,7 +129,7 @@ PrintXError(
char mesg[BUFSIZ];
char number[32];
char *mtype = "XlibMessage";
register _XExtension *ext = (_XExtension *)NULL;
_XExtension *ext = (_XExtension *)NULL;
_XExtension *bext = (_XExtension *)NULL;
XGetErrorText(dpy, event->error_code, buffer, BUFSIZ);
XGetErrorDatabaseText(dpy, mtype, "XError", "X Error", mesg, BUFSIZ);