Front page | perl.perl6.internals |
Postings from September 2001
[Patch] A bit of linting
Thread Next
From:
Josh Wilmes
Date:
September 29, 2001 00:14
Subject:
[Patch] A bit of linting
Message ID:
200109290714.CAA01909@sky.net
I'm attaching a patch which adds a "lint" target to the makefile (running
lclint with some very lenient settings) and fixes some of the things it
was griping about.
The changes are all pretty trivial, and fall into the following categories:
- handle return values which were being ignored (either casting to void
or doing something with them)
- cast IVs to (unsigned int) when printfing them with "%x".
- remove unused variables (only in one function)
- return a value in some places where there was a void return but the
function had a return type.
--Josh
--
Josh Wilmes (josh@hitchhiker.org) | http://www.hitchhiker.org
Thread Next
-
[Patch] A bit of linting
by Josh Wilmes