Mercurial > octave
diff libinterp/dldfcn/colamd.cc @ 21332:db574711df78
eliminate deprecated register storage class specifier
* colamd.cc, randmtzig.c: Don't declare variables with register
storage class specifier.
* libinterp/parse-tree/module.mk (libinterp/parse-tree/oct-gperf.h):
Filter out register storage class specifier from generated code.
* oct-tex-lexer.in.ll, lex.ll: Define away register storage class
specifier.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Feb 2016 09:52:27 -0500 |
parents | 40de9f8f23a6 |
children | ad0599a0acc6 |
line wrap: on
line diff
--- a/libinterp/dldfcn/colamd.cc Wed Feb 24 09:49:12 2016 -0500 +++ b/libinterp/dldfcn/colamd.cc Wed Feb 24 09:52:27 2016 -0500 @@ -111,10 +111,8 @@ static inline octave_idx_type find (octave_idx_type i, octave_idx_type *pp) { - register octave_idx_type p, gp; - - p = pp[i]; - gp = pp[p]; + octave_idx_type p = pp[i]; + octave_idx_type gp = pp[p]; while (gp != p) {