Opened 7 years ago
Last modified 7 years ago
#11871 new Bugs
json_parser missing return statement in standard callback
Reported by: | Owned by: | Sebastian Redl | |
---|---|---|---|
Milestone: | To Be Determined | Component: | property_tree |
Version: | Boost 1.61.0 | Severity: | Problem |
Keywords: | property_tree, new_tree, missing return | Cc: |
Description
new_tree in standard callbacks of json_parser misses return statement and therefore fails to compile depending on warning level.
Attachments (2)
Change History (3)
by , 7 years ago
Attachment: | missing-return.patch added |
---|
by , 7 years ago
Attachment: | standard_callbacks.patch added |
---|
comment:1 by , 7 years ago
The same issue in boost 1.60 (compilation fails). In case of internal logical error assert is not enough.
Note:
See TracTickets
for help on using tickets.
patch