diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-18 19:07:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-08-18 19:07:17 (GMT) |
commit | 48ced3ea8071b3141216482e2821e10250910947 (patch) | |
tree | 547a30cd6cc5015b3e85170cd944e14224e7ae9c /src/docparser.cpp | |
parent | 625e7a17bc708a32d52158ac24e7308c9d62fe84 (diff) | |
download | Doxygen-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.cpp | 15 |
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,"%","%%")); } } } |