Resolve compiler warnings and udpate CFLAGS

This commit is contained in:
Night Kaly 2024-11-04 23:46:43 +00:00
parent 436e769819
commit 83cd5a9750
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ BINDIR = $(PREFIX)/bin
LDFLAGS != pkg-config --libs libnotify LDFLAGS != pkg-config --libs libnotify
INCFLAGS != pkg-config --cflags libnotify INCFLAGS != pkg-config --cflags libnotify
CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall $(INCFLAGS) CFLAGS = -Os -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall $(INCFLAGS)
SRC = ssm.c SRC = ssm.c

2
ssm.c
View file

@ -24,7 +24,7 @@ typedef struct {
} event; } event;
char * char *
get_database_path() get_database_path(void)
{ {
char *db = DATABASE_PATH; char *db = DATABASE_PATH;
char *db_path; char *db_path;