comparison examples/dsl/screen.cpp @ 13:43d8b194fb4e

Remove unused variables.
author David A. Holland
date Tue, 31 May 2022 00:59:00 -0400
parents aab9ff6af791
children
comparison
equal deleted inserted replaced
12:aab9ff6af791 13:43d8b194fb4e
147 return r; 147 return r;
148 } 148 }
149 149
150 screen_rect screen_rect::rect(int w, int d, int jm) { 150 screen_rect screen_rect::rect(int w, int d, int jm) {
151 screen_rect b = *this; 151 screen_rect b = *this;
152 pair <int> p = b.pos;
153 pair <int> q = b.pos;
154 int jmy = (jm % 10) & 3; 152 int jmy = (jm % 10) & 3;
155 int jmx = (jm / 10) & 3; 153 int jmx = (jm / 10) & 3;
156 154
157 if (w < b.size.x) b.size.x = w; 155 if (w < b.size.x) b.size.x = w;
158 if (d < b.size.y) b.size.y = d; 156 if (d < b.size.y) b.size.y = d;