Cleanup: fix warnings, removed unused code.

This commit is contained in:
2018-05-02 10:32:01 +02:00
parent bb92edd1c8
commit e684e0ec95
13 changed files with 25 additions and 16 deletions

View File

@@ -198,7 +198,7 @@ void DEG_graph_build_from_view_layer(Depsgraph *graph,
Scene *scene,
ViewLayer *view_layer)
{
double start_time;
double start_time = 0.0;
if (G.debug & G_DEBUG_DEPSGRAPH_BUILD) {
start_time = PIL_check_seconds_timer();
}