Skip to content

Commit 5af34e0

Browse files
-Wformat-security and -Wunused-result fixes from v3.0.3
1 parent 6608d03 commit 5af34e0

File tree

3 files changed

+75
-92
lines changed

3 files changed

+75
-92
lines changed

Changelog

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11

2+
version 3.0.3:
3+
Quickfix, eliminated warnings -Wunused-result and -Wformat-security
4+
25
version 3.0.2:
36
Minor bugfixes, eliminated warnings
47

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ DATADIR=$(PREFIX)/share
66
MANDIR=$(PREFIX)/share/man/man1
77
DOCDIR=$(DATADIR)/doc/$(NAME)-$(VERSION)
88
CC=gcc
9-
CFLAGS?=-Wall -O2
9+
CFLAGS?=-Wall -Wformat-security -Wunused-result -O2
1010
LDFLAGS?=-lm -lreadline
1111
DBGFLAGS:=-DDEBUG -g
1212
LNSFLAGS:=-DLINENOISE

0 commit comments

Comments
 (0)