id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11599,"VS2015 warns that in new_tree, not all control paths return a value",Edward Brey ,Sebastian Redl,"In standard_callbacks::new_tree, Visual Studio 2015 can't tell from the assert(false) that the method will never exit after the switch statement, and so issues this warning: warning C4715: 'boost::property_tree::json_parser::detail::standard_callbacks,std::allocator >,std::basic_string,std::allocator >,std::less,std::allocator > > > >::new_tree': not all control paths return a value One solution to eliminate the warning and make the code more performant and, in case of a bug, more repeatable, is to change the end of the method to use this code: default: assert(l.k == leaf); stack.pop_back(); return new_tree(); } } This warning appears for both Debug and Release builds.",Bugs,closed,To Be Determined,property_tree,Boost 1.59.0,Problem,fixed,warnings,