Kaydet (Commit) 628aad2a authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

restore the 'initialization of warn'

Change-Id: I72ed0955bf6d47e04be7c182994ba12e53e40a9a
üst b5077b29
...@@ -49,13 +49,14 @@ PathFormat() ...@@ -49,13 +49,14 @@ PathFormat()
fi fi
} }
cat /dev/null > warn
have_WARNINGS="no" have_WARNINGS="no"
add_warning() add_warning()
{ {
if test "$have_WARNINGS" = "no" ; then if test "$have_WARNINGS" = "no" ; then
echo "*************************************" > warn echo "*************************************" >> warn
have_WARNINGS="yes"
fi fi
have_WARNINGS="yes"
echo "* WARNING : $@" >> warn echo "* WARNING : $@" >> warn
} }
...@@ -12342,6 +12343,6 @@ $GNUMAKE check ...@@ -12342,6 +12343,6 @@ $GNUMAKE check
_EOF _EOF
fi fi
cat warn 2> /dev/null cat warn
dnl vim:set shiftwidth=4 softtabstop=4 expandtab: dnl vim:set shiftwidth=4 softtabstop=4 expandtab:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment