From: xc/libs/dps/csfindNX.c around line 273
char openLicenseString[256];
(void) sprintf(openLicenseString, "%s:%d",
LICENSE_METHOD_OPEN,
OPEN_LICENSE_VERSION);
openLicenseMethod = XInternAtom(dpy, openLicenseString, True);
Since the return code of sprintf is not actually used for
anything... what is the purpose of casting it to void?
The file is missing inclusion of stdio.h also. Should that
(void) be taken out of there? Should similar code elsewhere also
be cleaned up?
----------------------------------------------------------------------
Mike A. Harris Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer Ontario, Canada, P6C 5B3
Red Hat Inc. Phone: (705)949-2136
http://www.redhat.com ftp://people.redhat.com/mharris
Red Hat XFree86 mailing list: [EMAIL PROTECTED]
IRC: #redhat-xfree86 on irc.openprojects.org
----------------------------------------------------------------------
[EMAIL PROTECTED]:~# rm -f /bin/laden
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert