diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-22 19:57:25 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-02-22 19:57:25 (GMT) |
commit | f13d78d4dfe3e075e0f91ee8d62603fadf18a3a9 (patch) | |
tree | bb6a2ec7453702ed2fe2348793b0bddf5d80042a /addon | |
parent | 2bf4cfeda1be93954baf688017e147b565c06d9b (diff) | |
download | Doxygen-f13d78d4dfe3e075e0f91ee8d62603fadf18a3a9.zip Doxygen-f13d78d4dfe3e075e0f91ee8d62603fadf18a3a9.tar.gz Doxygen-f13d78d4dfe3e075e0f91ee8d62603fadf18a3a9.tar.bz2 |
Release-1.3.6-20040222
Diffstat (limited to 'addon')
-rw-r--r-- | addon/doxmlparser/examples/metrics/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addon/doxmlparser/examples/metrics/main.cpp b/addon/doxmlparser/examples/metrics/main.cpp index 2129988..2c4bee3 100644 --- a/addon/doxmlparser/examples/metrics/main.cpp +++ b/addon/doxmlparser/examples/metrics/main.cpp @@ -204,7 +204,8 @@ int main(int argc,char **argv) { numParams++; } - if (strcmp(mem->typeString()->latin1(),"void")!=0) + const char *type = mem->typeString()->latin1(); + if (type && strcmp(type, "void")) { numParams++; // count non-void return types as well } |