wangxiaowei0303 / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

GenericReader::jmpbuf_ not initialized in the ctor #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Small issue that may be tough to fix. Our code analyzer detected 
GenericReader's jmpbuf_ member is not initialized in the ctor. Unfortunately 
I'm not sure if there is a good way of initializing it. jmpbuf_({0}) perhaps? 
Despite it being meaningless, calling setjmp() in the ctor? In any case, just 
thought I'd point it out. Thanks.

Original issue reported on code.google.com by ron....@gmail.com on 23 Apr 2013 at 3:32

GoogleCodeExporter commented 9 years ago

Original comment by milo...@gmail.com on 24 Jun 2014 at 2:06

GoogleCodeExporter commented 9 years ago
setjmp()/longjmp() has been removed. Thus this issue became obsolete. 
https://github.com/miloyip/rapidjson/pull/25

Original comment by milo...@gmail.com on 30 Jun 2014 at 1:47