From eafe5455f63258221f297c73df80122b330ccc4b Mon Sep 17 00:00:00 2001 From: Matthew Berry Date: Fri, 28 Oct 2022 16:46:39 -0700 Subject: [PATCH] remove unused variables --- spec/gb/run_test_roms.cr | 2 +- src/crab.cr | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/gb/run_test_roms.cr b/spec/gb/run_test_roms.cr index 6116ab8..d614675 100644 --- a/spec/gb/run_test_roms.cr +++ b/spec/gb/run_test_roms.cr @@ -28,7 +28,7 @@ mooneye_dir = "" OptionParser.parse do |parser| parser.on("--acid PATH", "Path to directory with acid tests") { |path| acid_dir = path } - parser.on("--blargg PATH", "Path to directory with blargg tests") { |path| blargg = path } + parser.on("--blargg PATH", "Path to directory with blargg tests") { |path| blargg_dir = path } parser.on("--mealybug PATH", "Path to directory with mealybug tests") { |path| mealybug_dir = path } parser.on("--mooneye PATH", "Path to directory with mooneye tests") { |path| mooneye_dir = path } parser.invalid_option { abort parser } diff --git a/src/crab.cr b/src/crab.cr index 90aa1bc..ef44777 100644 --- a/src/crab.cr +++ b/src/crab.cr @@ -21,7 +21,6 @@ module Crab rom = nil bios = nil - headless = false OptionParser.parse do |parser| parser.banner = "#{"crab".colorize.bold} - An accurate and readable Game Boy (Color) (Advance) emulator"