Fixed possible bug: as the return value of makeDocumentation is never checked, don't return null pointers, even in case of errors

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dmitry Kabak 2012-08-05 14:18:46 +00:00
commit 0a3db948cc
2 changed files with 2 additions and 2 deletions

View file

@ -409,7 +409,7 @@ String *JavaDocConverter::makeDocumentation(Node *node) {
String *documentation = getDoxygenComment(node);
if (documentation == NULL) {
return NULL;
return NewString("");
}
if (GetFlag(node, "feature:doxygen:notranslate")) {