From 4ff61d3cf2fc9618ceb34ef38e7d76086579627a Mon Sep 17 00:00:00 2001 From: redcode Date: Sun, 5 Jun 2022 00:40:33 +0200 Subject: [PATCH] Removed temporary code committed by mistake. --- sources/test-Z80.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sources/test-Z80.c b/sources/test-Z80.c index 665e384..5f92124 100644 --- a/sources/test-Z80.c +++ b/sources/test-Z80.c @@ -608,7 +608,6 @@ static zboolean to_uint8(char const* string, zuint8 maximum_value, zuint8 *byte) return TRUE; } -typedef struct {int a, b;} AB; int main(int argc, char **argv) { @@ -616,7 +615,6 @@ int main(int argc, char **argv) zuint32 tests_run = 0; zusize longest_search_path_size = 0; int ii, i = 0; - AB ab = {1, 2}; /* [0] = Number of tests failed. ** [1] = Number of tests passed. */ @@ -624,7 +622,7 @@ int main(int argc, char **argv) /* If no CPU model is specified in the command line, ** the Z80 CPU emulator will behave as a Zilog NMOS. */ - cpu.options = Z80_MODEL_ZILOG_NMOS + !!ab.a; + cpu.options = Z80_MODEL_ZILOG_NMOS; while (++i < argc && *argv[i] == '-') {