Make static analyzer happy
This commit is contained in:
parent
7b643ff5c6
commit
fd09eb3b20
@ -34,7 +34,7 @@ int main(){
|
|||||||
rjp::array root = initialize_array(NUM_ELEMENTS);
|
rjp::array root = initialize_array(NUM_ELEMENTS);
|
||||||
|
|
||||||
for(auto&& val : root){
|
for(auto&& val : root){
|
||||||
RJP_data_type d;
|
RJP_data_type d = rjp_json_null;
|
||||||
rjp::dispatch(rjp::dispatcher{
|
rjp::dispatch(rjp::dispatcher{
|
||||||
[&d](const rjp::integer&){d = rjp_json_integer;},
|
[&d](const rjp::integer&){d = rjp_json_integer;},
|
||||||
[&d](const rjp::boolean&){d = rjp_json_boolean;},
|
[&d](const rjp::boolean&){d = rjp_json_boolean;},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user