Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorLuca Rood <dev@lucarood.com>2017-07-03 13:12:27 +0300
committerLuca Rood <dev@lucarood.com>2017-07-03 13:12:27 +0300
commitd48a9528ca2a2cc9b5fa0d1d221c3efe1491d078 (patch)
tree1f1e31e7fbfb570dba6dd9656391d4b85e64c9b9 /intern
parentf5535fcb83fd7c1374697923b43565c9e303d225 (diff)
Fix missing return error introduced by last commit
End of non-void function was being reached since f5535fcb83fd7c1374697923b43565c9e303d225
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/render/constant_fold.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/render/constant_fold.cpp b/intern/cycles/render/constant_fold.cpp
index 9db875ea4f1..943b218f0e4 100644
--- a/intern/cycles/render/constant_fold.cpp
+++ b/intern/cycles/render/constant_fold.cpp
@@ -167,8 +167,9 @@ bool ConstantFolder::try_bypass_or_make_constant(ShaderInput *input, bool clamp)
graph->disconnect(other);
}
}
- return false;
}
+
+ return false;
}
bool ConstantFolder::is_zero(ShaderInput *input) const