Skip to content

Commit

Permalink
Dead var #1
Browse files Browse the repository at this point in the history
  • Loading branch information
merryoncherry authored and dkulp committed Jul 31, 2023
1 parent 8e5f71e commit 6a3c4c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions xLights/RenderBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ RenderBuffer::RenderBuffer(xLightsFrame *f) : frame(f)
frameTimeInMs = 50;
_textDrawingContext = nullptr;
_pathDrawingContext = nullptr;
tempInt = tempInt2 = 0;
tempInt = 0;
isTransformed = false;
}

Expand Down Expand Up @@ -1721,7 +1721,6 @@ RenderBuffer::RenderBuffer(RenderBuffer& buffer) : pixelVector(buffer.pixels, &b
fadeoutsteps = buffer.fadeoutsteps;
needToInit = buffer.needToInit;
tempInt = buffer.tempInt;
tempInt2 = buffer.tempInt2;
allowAlpha = buffer.allowAlpha;
dmx_buffer = buffer.dmx_buffer;
_nodeBuffer = buffer._nodeBuffer;
Expand Down
1 change: 0 additions & 1 deletion xLights/RenderBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ class /*NCCDLLEXPORT*/ RenderBuffer {
/* Places to store and data that is needed from one frame to another */
std::map<int, EffectRenderCache*> infoCache;
int tempInt = 0;
int tempInt2 = 0;

//place for GPU Renderers to attach extra data/objects it needs
void *gpuRenderData = nullptr;
Expand Down

0 comments on commit 6a3c4c3

Please sign in to comment.