mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-19 03:52:52 +00:00
Handle splint errors more gracefully.
This commit is contained in:
parent
cd0dc8627d
commit
9c3c7e5a09
@ -8,7 +8,7 @@
|
|||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
# Please read the file COPYING, README and AUTHORS for more information.
|
# Please read the file COPYING, README and AUTHORS for more information.
|
||||||
#
|
#
|
||||||
# $Id: Makefile.am,v 1.45 2005/04/09 18:23:37 alex Exp $
|
# $Id: Makefile.am,v 1.46 2005/05/23 00:11:15 alex Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = ../portab/ansi2knr
|
AUTOMAKE_OPTIONS = ../portab/ansi2knr
|
||||||
@ -64,7 +64,7 @@ lint:
|
|||||||
waswarning=1; \
|
waswarning=1; \
|
||||||
echo; grep -v "^Command Line: " lint.out; echo; \
|
echo; grep -v "^Command Line: " lint.out; echo; \
|
||||||
w=$$( grep "code warning" lint.out | awk "{ print \$$4 }" ); \
|
w=$$( grep "code warning" lint.out | awk "{ print \$$4 }" ); \
|
||||||
warnings=`expr $$warnings + $$w`; \
|
[ "$$w" -gt 0 ] && warnings=`expr $$warnings + $$w`; \
|
||||||
files=`expr $$files + 1`; \
|
files=`expr $$files + 1`; \
|
||||||
else \
|
else \
|
||||||
waswarning=0; \
|
waswarning=0; \
|
||||||
|
Loading…
Reference in New Issue
Block a user