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:
Bård Skaflestad 2013-02-01 16:15:35 +01:00
parent 8f6be16ac3
commit cf922e73ce

View File

@ -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;