summaryrefslogtreecommitdiff
path: root/src/sim/sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/sim.c')
-rw-r--r--src/sim/sim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sim/sim.c b/src/sim/sim.c
index 194265c..9c7c584 100644
--- a/src/sim/sim.c
+++ b/src/sim/sim.c
@@ -109,8 +109,6 @@ void simFillHorizLine(cdSimulation* simulation, int xmin, int y, int xmax)
void simFillHorizBox(cdSimulation* simulation, int xmin, int xmax, int ymin, int ymax)
{
- cdCanvas* canvas = ((cdCtxCanvasBase*)ctxcanvas)->canvas;
- cdSimulation* simulation = canvas->simulation;
int y;
for(y=ymin;y<=ymax;y++)
simFillHorizLine(simulation, xmin, y, xmax);