Commit 9463a89d authored by Sergio Costas's avatar Sergio Costas

Removed unused variables

parent cda943c6
......@@ -40,7 +40,6 @@
class computer *ordenador;
computer::computer() {
int bucle;
this->dblscan = false;
this->bw = false;
......@@ -175,7 +174,6 @@ void computer::do_contention(bool io, uint16_t addr) {
// resets the computer and loads the right ROMs
void ResetComputer() {
static int bucle;
Z80free_reset(&procesador);
load_rom(ordenador->current_mode);
......
......@@ -378,7 +378,7 @@ void load_config() {
}
int main(int argc, char *argv[]) {
int bucle, tstados, argumento, length;
int bucle, tstados, length;
string gamefile;
uint16_t PC = 0;
......
......@@ -224,11 +224,7 @@ uint8_t LLScreen::printchar(uint8_t carac, int16_t x, int16_t y, uint8_t color,
uint8_t width;
uint8_t width2;
uint8_t height;
uint8_t height2;
int8_t left;
int8_t top;
int8_t right;
int8_t bottom;
uint8_t * counter;
int8_t * counter2;
......@@ -239,10 +235,7 @@ uint8_t LLScreen::printchar(uint8_t carac, int16_t x, int16_t y, uint8_t color,
width = *(counter++);
height = *(counter++);
counter2 = (int8_t *) counter;
left = *(counter2++);
top = *(counter2++);
right = *(counter2++);
bottom = *(counter2++);
counter += 4;
// y+=charset.max_top;
......
......@@ -51,7 +51,7 @@ pa_simple *pulse_s;
#endif
LLSound::LLSound(enum e_soundtype sound_type) {
int bucle, bucle2, ret2;
int bucle, ret2;
this->sound_type = sound_type;
ret2 = this->init_sound(); // check all sound systems
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment