Skip to content

Commit eab76bc

Browse files
committed
Rm register keyword
Remove the register keyword that is no longer supported by C++ (> C++17)
1 parent 346b2ab commit eab76bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clib/bget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ void brel(void *buf)
10321032
released, since it's negative to indicate that the buffer is
10331033
allocated. */
10341034

1035-
register bufsize size = b->bh.bsize;
1035+
bufsize size = b->bh.bsize;
10361036

10371037
/* Make the previous buffer the one we're working on. */
10381038
assert(BH((char *) b - b->bh.prevfree)->bsize == b->bh.prevfree);

0 commit comments

Comments
 (0)