mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Remove register keyword as it's deprecated since C++17
This commit is contained in:
parent
4123bef60d
commit
7f08a7bca8
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue