mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 12:19:10 +00:00
fix ISO C++17 does not allow 'register' storage class specifier error with clang16
pulled from upstream: https://gitlab.freedesktop.org/mesa/glu/-/merge_requests/10 ok jsg@
This commit is contained in:
@@ -73,8 +73,8 @@ Varray::~Varray( void )
|
||||
inline void
|
||||
Varray::update( Arc_ptr arc, long dir[2], REAL val )
|
||||
{
|
||||
register long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]);
|
||||
register long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]);
|
||||
long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]);
|
||||
long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]);
|
||||
|
||||
if( dir[0] != ds || dir[1] != dt ) {
|
||||
dir[0] = ds;
|
||||
|
||||
Reference in New Issue
Block a user