diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-05-17 22:08:30 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-05-17 22:08:30 +0200 |
commit | 9f4664805178dec68f79cb066f5dde8ba8fbaa31 (patch) | |
tree | ef34b472adf4846aece73debce5fffcd9d05ab3f /autodoc | |
parent | 3ea396c8d22d995f63e88b24ea85a881b6139280 (diff) |
Just 1 simple fix cppcheck warning
Diffstat (limited to 'autodoc')
-rw-r--r-- | autodoc/source/parser/cpp/c_rcode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autodoc/source/parser/cpp/c_rcode.cxx b/autodoc/source/parser/cpp/c_rcode.cxx index 05c32b880efd..cdec22bbdc58 100644 --- a/autodoc/source/parser/cpp/c_rcode.cxx +++ b/autodoc/source/parser/cpp/c_rcode.cxx @@ -139,7 +139,7 @@ CodeExplorer::CurToken() const Cpp_PE & CodeExplorer::CurEnv() const { - csv_assert(aEnvironments.size() > 0); + csv_assert(!aEnvironments.empty()); csv_assert(aEnvironments.back() != 0); return *aEnvironments.back(); |