(minor) various bits of fix-ups

This commit is contained in:
Peter D. Barnes, Jr
2020-05-11 18:19:19 -07:00
parent 2370746ad2
commit 32d820e8c7
3 changed files with 4 additions and 7 deletions

View File

@@ -301,7 +301,7 @@ else
# Modify doxygen.conf to generate all the warnings
# (We also suppress dot graphs, so shorten the run time.)
conf=doxygen.conf
conf=doc/doxygen.conf
cp $conf ${conf}.bak
cat <<-EOF >> $conf
@@ -333,7 +333,7 @@ EOF
fi
# Waf insists on writing cruft to stdout
sed -i -E '/^Waf:/d' $intro_h
sed -i -E '/^Waf:/d' doc/$intro_h
verbose -n "Rebuilding doxygen docs with full errors"
(cd "$ROOT" && ./waf --doxygen-no-build >&6 2>&6 )

View File

@@ -339,11 +339,6 @@ CommandLine::PrintDoxygenUsage (void) const
{
NS_LOG_FUNCTION (this);
{
char buf[1024];
std::string cwd= getcwd (buf, 1024);
}
const char * envVar = std::getenv ("NS_COMMANDLINE_INTROSPECTION");
if (envVar == 0 || std::strlen (envVar) == 0)
{

View File

@@ -230,6 +230,8 @@ public:
*
* This form is required to generate Doxygen documentation of the
* arguments and options.
*
* \param [in] filename The source file name.
*/
CommandLine (const std::string filename);
/**