Remove a bunch of unused variables, and useless assignments
Detected by clang-tidy.
This commit is contained in:
1 parent
2b709727a9
commit
623ace27e8
4 files changed
+3
-5
No files matched your search
+1
-1
@@ -1242,7 +1242,7 @@ int jq_compile_args(jq_state *jq, const char* str, jv args) {
|
||||
if (nerrors == 0) {
|
||||
nerrors = builtins_bind(jq, &program);
|
||||
if (nerrors == 0) {
|
||||
nerrors = block_compile(program, &jq->bc, locations, args = args2obj(args));
|
||||
nerrors = block_compile(program, &jq->bc, locations, args2obj(args));
|
||||
}
|
||||
} else
|
||||
jv_free(args);
|
||||
|
||||
Reference in new issue
Block a user