From 4760458bad9546cc2329cee45a844e4e450ccd5d Mon Sep 17 00:00:00 2001 From: Clay Smith Date: Wed, 15 Feb 2023 06:11:13 -0600 Subject: . --- Makefile | 2 +- main.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index bdf493a..4a0fc71 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC = gcc -ALL_FLAGS = -g +ALL_FLAGS = -g -Wall main: main.c handle_devices.c ${CC} ${ALL_FLAGS} main.c handle_devices.c -o devout diff --git a/main.c b/main.c index 4d173c3..3fdcd53 100644 --- a/main.c +++ b/main.c @@ -32,10 +32,6 @@ int main(int argc, char** argv) //fprintf(stderr, "\n\nIf no devices are listed above, then the program failed to find an acceptable device connected to the computer.\n\n"); } else { - struct input_event event1, event2, event3, event4; - int ievt_size = sizeof(struct input_event); - size_t start_sec; - switch (choice) { case STEAM_BIT: { -- cgit v1.2.1