mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
don't need to check for NULL there
This commit is contained in:
4
main.c
4
main.c
@ -331,12 +331,8 @@ int main(int argc, char* argv[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
if(input_filenames != NULL){
|
|
||||||
jv_mem_free(input_filenames);
|
jv_mem_free(input_filenames);
|
||||||
}
|
|
||||||
if(jq != NULL){
|
|
||||||
jq_teardown(&jq);
|
jq_teardown(&jq);
|
||||||
}
|
|
||||||
if (ret >= 10 && ret <= 11 && !(options & EXIT_STATUS))
|
if (ret >= 10 && ret <= 11 && !(options & EXIT_STATUS))
|
||||||
return 0;
|
return 0;
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user