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:
8
main.c
8
main.c
@ -331,12 +331,8 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
}
|
||||
out:
|
||||
if(input_filenames != NULL){
|
||||
jv_mem_free(input_filenames);
|
||||
}
|
||||
if(jq != NULL){
|
||||
jq_teardown(&jq);
|
||||
}
|
||||
jv_mem_free(input_filenames);
|
||||
jq_teardown(&jq);
|
||||
if (ret >= 10 && ret <= 11 && !(options & EXIT_STATUS))
|
||||
return 0;
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user