uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 9d8989627ddec35c945d2f4136d353a726a8d693
parent dad540651eb2a76671ad7876f43f0f0537c078da
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Sun, 28 Mar 2021 18:19:36 +0100

Removed compiler warning about unused variable.

Diffstat:
Msrc/emulator.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/emulator.c b/src/emulator.c @@ -424,6 +424,7 @@ datetime_poke(Uxn *u, Uint16 ptr, Uint8 b0, Uint8 b1) Uint8 *m = u->ram.dat; time_t seconds = time(NULL); struct tm *t = localtime(&seconds); + (void)b0; t->tm_year += 1900; m[ptr + 0] = (t->tm_year & 0xff00) >> 8; m[ptr + 1] = t->tm_year & 0xff;