diff --git a/c/jsdec-plugin.c b/c/jsdec-plugin.c index efce1ab..659de54 100644 --- a/c/jsdec-plugin.c +++ b/c/jsdec-plugin.c @@ -280,7 +280,8 @@ command_handler(pddi, "--issue"); command_handler(pddj, "--as-json"); command_handler(pddo, "--offsets"); -static bool rz_cmd_pdd_init(RzCore *core) { +static bool rz_cmd_pdd_init(RzCore *core, void **user) { + (void)user; RzCmd *rcmd = core->rcmd; RzConfig *cfg = core->config; RzCmdDesc *root_cd = rz_cmd_get_desc(rcmd, "pd"); @@ -319,7 +320,8 @@ static bool rz_cmd_pdd_init(RzCore *core) { return true; } -static bool rz_cmd_pdd_fini(RzCore *core) { +static bool rz_cmd_pdd_fini(RzCore *core, void *user) { + (void)user; RzCmd *rcmd = core->rcmd; RzCmdDesc *cd = rz_cmd_get_desc(rcmd, "pdd"); return rz_cmd_desc_remove(rcmd, cd); diff --git a/tools/qjsc_mod.c b/tools/qjsc_mod.c index 88284b6..f910014 100644 --- a/tools/qjsc_mod.c +++ b/tools/qjsc_mod.c @@ -447,7 +447,7 @@ void help(void) int main(int argc, char **argv) { - int c, i, verbose; + int c, i; const char *out_filename, *cname, *script_name; char cfilename[1024]; FILE *fo; @@ -462,7 +462,6 @@ int main(int argc, char **argv) output_type = OUTPUT_C; cname = NULL; module = -1; - verbose = 0; strip = 0; stack_size = 0; memset(&dynamic_module_list, 0, sizeof(dynamic_module_list)); @@ -519,9 +518,6 @@ int main(int argc, char **argv) case 's': strip++; break; - case 'v': - verbose++; - break; case 'p': c_ident_prefix = optarg; break;