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:
parent
346fdfcab7
commit
0a3db948cc
2 changed files with 2 additions and 2 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue