Warn about variables initialized by themselves.

This commit is contained in:
Stephan Gatzka
2016-11-27 18:19:07 +01:00
parent 1568015de6
commit 9591ecddbe
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ INSTALL_LIBRARY_PATH = $(DESTDIR)$(PREFIX)/$(LIBRARY_PATH)
INSTALL ?= cp -a
R_CFLAGS = -fPIC -std=c89 -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings -Wshadow $(CFLAGS)
R_CFLAGS = -fPIC -std=c89 -pedantic -Wall -Werror -Wstrict-prototypes -Wwrite-strings -Wshadow -Winit-self $(CFLAGS)
uname := $(shell sh -c 'uname -s 2>/dev/null || echo false')