[ircd-ratbox] Minor Patch

Paul-Andrew Joseph Miseiko esoteric at teardrop.ca
Thu Jun 3 08:25:31 EDT 2004


What's wrong with putting a return at the end of a void function?

-----Original Message-----
From: ircd-ratbox-bounces at lists.ratbox.org
[mailto:ircd-ratbox-bounces at lists.ratbox.org] On Behalf Of Dustin Marquess
Sent: June 1, 2004 8:31 PM
To: ircd-ratbox at lists.ratbox.org
Subject: [ircd-ratbox] Minor Patch

Here's a minor patch that I threw together against the RATBOX_1 branch.

The first change removes an unneeded return at the end of a void
function.

The rest of them remove < 0 checks against unsigned variables.

These clean-up most of the warnings that the Compaq C Compiler spits-out
with full warnings enabled (-w0).

-Dustin




More information about the ircd-ratbox mailing list