guard created values from being optimized out (bnc#895964)