[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47330] trunk/blender: code cleanup: warnings
Campbell Barton
ideasman42 at gmail.com
Fri Jun 1 16:59:06 CEST 2012
Revision: 47330
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47330
Author: campbellbarton
Date: 2012-06-01 14:59:06 +0000 (Fri, 01 Jun 2012)
Log Message:
-----------
code cleanup: warnings
Modified Paths:
--------------
trunk/blender/intern/cycles/CMakeLists.txt
trunk/blender/source/blender/compositor/intern/COM_ExecutionGroup.cpp
Modified: trunk/blender/intern/cycles/CMakeLists.txt
===================================================================
--- trunk/blender/intern/cycles/CMakeLists.txt 2012-06-01 14:42:55 UTC (rev 47329)
+++ trunk/blender/intern/cycles/CMakeLists.txt 2012-06-01 14:59:06 UTC (rev 47330)
@@ -65,7 +65,7 @@
if(WITH_CYCLES_BLENDER)
add_definitions(-DBLENDER_PLUGIN)
add_subdirectory(blender)
-endif(WITH_CYCLES_BLENDER)
+endif()
add_subdirectory(app)
add_subdirectory(bvh)
Modified: trunk/blender/source/blender/compositor/intern/COM_ExecutionGroup.cpp
===================================================================
--- trunk/blender/source/blender/compositor/intern/COM_ExecutionGroup.cpp 2012-06-01 14:42:55 UTC (rev 47329)
+++ trunk/blender/source/blender/compositor/intern/COM_ExecutionGroup.cpp 2012-06-01 14:59:06 UTC (rev 47330)
@@ -436,7 +436,7 @@
for (indexx = max(minxchunk, 0); indexx<min((int)this->numberOfXChunks, maxxchunk) ; indexx++) {
for (indexy = max(minychunk, 0); indexy<min((int)this->numberOfYChunks, maxychunk) ; indexy++) {
- int chunkNumber = indexx+indexy*this->numberOfXChunks;
+ /* int chunkNumber = indexx+indexy*this->numberOfXChunks; */ /* UNUSED */
MemoryBuffer *chunkBuffer = memoryProxy->getBuffer();
result->copyContentFrom(chunkBuffer);
}
@@ -491,7 +491,7 @@
// output allocation is only valid when our outputoperation is a memorywriter
NodeOperation * operation = this->getOutputNodeOperation();
if (operation->isWriteBufferOperation()) {
- WriteBufferOperation *writeOperation = (WriteBufferOperation*)operation;
+/* WriteBufferOperation *writeOperation = (WriteBufferOperation*)operation; */ /* UNUSED */
// @todo outputBuffer = MemoryManager::allocateMemoryBuffer(writeOperation->getMemoryProxy(), chunkNumber, rect);
}
return outputBuffer;
More information about the Bf-blender-cvs
mailing list