forked from bartvdbraak/blender
code cleanup: warnings
This commit is contained in:
parent
32fe2d71fc
commit
07ce209c64
@ -65,7 +65,7 @@ include_directories(
|
||||
if(WITH_CYCLES_BLENDER)
|
||||
add_definitions(-DBLENDER_PLUGIN)
|
||||
add_subdirectory(blender)
|
||||
endif(WITH_CYCLES_BLENDER)
|
||||
endif()
|
||||
|
||||
add_subdirectory(app)
|
||||
add_subdirectory(bvh)
|
||||
|
@ -436,7 +436,7 @@ MemoryBuffer *ExecutionGroup::constructConsolidatedMemoryBuffer(MemoryProxy *mem
|
||||
|
||||
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 @@ MemoryBuffer *ExecutionGroup::allocateOutputBuffer(int chunkNumber, rcti *rect)
|
||||
// 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;
|
||||
|
Loading…
Reference in New Issue
Block a user