Initialize doxygenTranslator pointer to NULL when it is unused.

No real changes, but avoid having pointer with junk contents, even if it's
unused.

This also avoid the need for checking whether it's used before deleting it.
This commit is contained in:
Vadim Zeitlin 2014-05-07 18:46:30 +02:00
commit 984d5fa299
2 changed files with 3 additions and 2 deletions

View file

@ -171,8 +171,7 @@ public:
}
~JAVA() {
if (doxygen)
delete doxygenTranslator;
delete doxygenTranslator;
}
/* -----------------------------------------------------------------------------