summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-08-18 19:07:17 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-08-18 19:07:17 (GMT)
commit48ced3ea8071b3141216482e2821e10250910947 (patch)
tree547a30cd6cc5015b3e85170cd944e14224e7ae9c /src/docparser.cpp
parent625e7a17bc708a32d52158ac24e7308c9d62fe84 (diff)
downloadDoxygen-48ced3ea8071b3141216482e2821e10250910947.zip
Doxygen-48ced3ea8071b3141216482e2821e10250910947.tar.gz
Doxygen-48ced3ea8071b3141216482e2821e10250910947.tar.bz2
Fixed various issues found by PVS-Studio.
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index d1362f0..cb65564 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -511,18 +511,9 @@ static void checkUndocumentedParams()
errMsg+=" parameter '"+argName+"'";
}
}
- if (g_memberDef->inheritsDocsFrom())
- {
- warn_doc_error(g_memberDef->getDefFileName(),
- g_memberDef->getDefLine(),
- substitute(errMsg,"%","%%"));
- }
- else
- {
- warn_doc_error(g_memberDef->getDefFileName(),
- g_memberDef->getDefLine(),
- substitute(errMsg,"%","%%"));
- }
+ warn_doc_error(g_memberDef->getDefFileName(),
+ g_memberDef->getDefLine(),
+ substitute(errMsg,"%","%%"));
}
}
}