Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: rillig
Date: Sat Apr 12 17:22:50 UTC 2025
Modified Files:
src/tests/usr.bin/xlint/lint1: msg_382.c
src/usr.bin/xlint/lint1: err.c tree.c
Log Message:
lint: warn about constant assignment in operand to '&&' or '||'
Seen in bin/sh/redir.c:1084 for errno, which is fine.
Seen in usr.sbin/mopd/mopprobe/mopprobe.c:235, which looks suspicious
but hasn't been touched since 1997.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/msg_382.c
cvs rdiff -u -r1.270 -r1.271 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.681 -r1.682 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