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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-14 17:19:57 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-14 17:19:57 +0400
commit08dc76b1ecfbfea4e35b7225b2288c5956081327 (patch)
tree9058c5632181c4c109d1a94625b018376c662974 /intern/cycles/render/tables.cpp
parent83a172e40c50c630b7bdd58b0b4a24a1f4284bfa (diff)
Fix a few issues found by coverity code scan in cycles code, nothing that caused
an actual bug as far as I can tell.
Diffstat (limited to 'intern/cycles/render/tables.cpp')
-rw-r--r--intern/cycles/render/tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/tables.cpp b/intern/cycles/render/tables.cpp
index c7c86f68960..032fef7516e 100644
--- a/intern/cycles/render/tables.cpp
+++ b/intern/cycles/render/tables.cpp
@@ -99,7 +99,7 @@ void LookupTables::remove_table(size_t offset)
for(table = lookup_tables.begin(); table != lookup_tables.end(); table++) {
if(table->offset == offset) {
lookup_tables.erase(table);
- break;
+ return;
}
}