summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--main.c4
2 files changed, 1 insertions, 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:
{