diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-09 18:46:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-09 18:46:38 (GMT) |
commit | bae74a501c520bc180ea329dbe8d91b1ce81d90e (patch) | |
tree | f15323516f2a5fac2dd251d4e19c6c4bdb1a7815 /src/pre.l | |
parent | 28c738d0319bf5de25bcf6aed90234419feded07 (diff) | |
download | Doxygen-bae74a501c520bc180ea329dbe8d91b1ce81d90e.zip Doxygen-bae74a501c520bc180ea329dbe8d91b1ce81d90e.tar.gz Doxygen-bae74a501c520bc180ea329dbe8d91b1ce81d90e.tar.bz2 |
Fixed use of uninitialized pointer in preprocessor
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -334,9 +334,9 @@ struct preYY_state FileDef *yyFileDef; FileDef *inputFileDef; int ifcount = 0; - QStrList *pathList = 0; + QStrList *pathList = 0; QStack<FileState> includeStack; - QDict<int> *argDict; + QDict<int> *argDict = 0; int defArgs = -1; QCString defName; QCString defText; @@ -348,12 +348,12 @@ struct preYY_state int lastCContext; int lastCPPContext; QArray<int> levelGuard; - BufStr *inputBuf; + BufStr *inputBuf = 0; int inputBufPos; - BufStr *outputBuf; + BufStr *outputBuf = 0; int roundCount; bool quoteArg; - DefineDict *expandedDict; + DefineDict *expandedDict = 0; int findDefArgContext; bool expectGuard; QCString guardName; |