Eliminate release-mode build warning.
The 'cbottom' variable is only used within an assert(). Don't define the variable in release (i.e., "NDEBUG") mode.
This commit is contained in:
parent
8f6be16ac3
commit
cf922e73ce
@ -79,7 +79,11 @@ tarjan (int nv, const int *ia, const int *ja, int *vert, int *comp,
|
||||
int *stack = comp + nv;
|
||||
int *bottom = stack;
|
||||
int *cstack = vert + nv-1;
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
int *cbottom = cstack;
|
||||
#endif
|
||||
|
||||
int t = 0;
|
||||
int pos = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user