libXt fixes for compilation with clang-3.4
Thomas Klausner
wiz at NetBSD.org
Tue Jun 25 14:02:44 PDT 2013
This fixes all warnings that clang-3.4 reports, except for
Error.c:265:30: warning: format string is not a string literal [-Wformat-nonliteral]
(void) fprintf (stderr, buffer,
^~~~~~
Error.c:307:40: warning: format string is not a string literal [-Wformat-nonliteral]
(void) snprintf (message, BIGBUF, buffer,
and:
sharedlib.c:184:12: warning: unused variable 'dummy' [-Wunused-variable]
static int dummy; /* avoid warning from ranlib */
^
More information about the xorg-devel
mailing list