Skip to content

Commit

Permalink
Merge branch 'main' into DecodeOP
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchatruc committed Jul 17, 2023
2 parents c76f9ef + 322ef7f commit 8730e65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TEST_TARGET=cairo_vm_test

CC=cc
SANITIZER_FLAGS=-fsanitize=address -fno-omit-frame-pointer
CFLAGS=-std=c11 -Wall -Wextra -pedantic -g -O0
CFLAGS=-std=c11 -Wall -Wextra -Werror -pedantic -g -O0
CFLAGS_TEST=-I./src
LN_FLAGS=

Expand Down
6 changes: 5 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
#include <limits.h>
#include <stdio.h>

int main(int argc, char **argv) { return 0; }
int main(__attribute__((unused)) int argc, __attribute__((unused)) char **argv) {
printf("Hello World!\n");

return 0;
}
3 changes: 1 addition & 2 deletions test/test.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "decoder_test.h"

int main(int argc, char **argv) {
int main(__attribute__((unused)) int argc, __attribute__((unused)) char **argv) {
decoding_tests();
printf("Tests passed!\n");
return 0;
}

0 comments on commit 8730e65

Please sign in to comment.