Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/xlint



Module Name:    src
Committed By:   rillig
Date:           Sun Jan 21 14:21:34 UTC 2024

Modified Files:
        src/usr.bin/xlint: Makefile.inc
        src/usr.bin/xlint/lint1: decl.c tree.c

Log Message:
lint: clean up redundant const from parameters and local variables

These were leftovers from splitting large functions into smaller
functions, to ensure that variables were not unintentionally reassigned.
Those refactorings are finished, and the extra help from the compiler is
no longer necessary.

No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/xlint/Makefile.inc
cvs rdiff -u -r1.387 -r1.388 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.595 -r1.596 src/usr.bin/xlint/lint1/tree.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index