Skip to content

Commit 2c007ea

Browse files
committed
make sure data_ is "used" also if HIPO_TIMING_LEVEL is 0
- avoids an unused private field warning
1 parent cb83e5a commit 2c007ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

highs/ipm/hipo/factorhighs/Analyse.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,6 +1415,8 @@ Int Analyse::run(Symbolic& S) {
14151415

14161416
#if HIPO_TIMING_LEVEL >= 1
14171417
data_.sumTime(kTimeAnalyse, clock_total.stop());
1418+
#else
1419+
(void)data_; // to avoid an unused-private-field warning
14181420
#endif
14191421

14201422
return kRetOk;

0 commit comments

Comments
 (0)