Blender Git Loki

Git Commits -> Revision d330162

Revision d330162 by Lukas Stockner (master)
January 9, 2016, 23:50 (GMT)
Cycles: Fix Uninitialized Value compiler warning in the scoped_timer

Although the code made it impossible to use time_start_ uninitialized, at least GCC did
still produce multiple warnings about it.
Since time_dt() is an extremely cheap operation and functionality does not change in any way when
removing the check in the constructor, this commit removes the check and therefore the warning.

Commit Details:

Full Hash: d330162ba6981a6c3691bcc8759215463d47f973
Parent Commit: 64df7a2
Lines Changed: +1, -3

1 Modified Path:

/intern/cycles/util/util_time.h (+1, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021