From 7f08a7bca81bf21db2bd9ab3c59785f49c700771 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Wed, 4 Sep 2024 20:10:21 +0200 Subject: [PATCH] Remove register keyword as it's deprecated since C++17 --- code/qcommon/msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/msg.cpp b/code/qcommon/msg.cpp index bb04cba3..6e3200d6 100644 --- a/code/qcommon/msg.cpp +++ b/code/qcommon/msg.cpp @@ -878,7 +878,7 @@ void MSG_ReadData( msg_t *msg, void *data, int len ) { // a string hasher which gives the same hash value even if the // string is later modified via the legacy MSG read/write code int MSG_HashKey(const char *string, int maxlen) { - int register hash, i; + int hash, i; hash = 0; for (i = 0; i < maxlen && string[i] != '\0'; i++) {