Source-Changes archive

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

CVS commit: src/share/misc



Module Name:    src
Committed By:   rillig
Date:           Thu Mar 10 23:39:12 UTC 2022

Modified Files:
        src/share/misc: style

Log Message:
share/misc/style: lint no longer needs CONSTCOND in do-while-loops

Since usr.bin/xlint/lint1/tree.c 1.202 from 2021-01-31, lint recognizes
the common idiom 'do { ... } while (0)' and no longer complains about
its constant condition; see tests/usr.bin/xlint/lint1/msg_161.c.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/share/misc/style

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