Diff of /opjitconv/opjitconv.c [c4e390] .. [c884b7]  Maximize  Restore

  Switch to side-by-side view

--- a/opjitconv/opjitconv.c
+++ b/opjitconv/opjitconv.c
@@ -813,10 +813,8 @@
 
 }
 
-static void __print_usage(const char * extra_msg)
-{
-	if (extra_msg)
-		fprintf(stderr, extra_msg);
+static void __print_usage(void)
+{
 	fprintf(stderr, "usage: opjitconv [--debug | --non-root | --delete-jitdumps ] --session-dir=<dir> <starttime> <endtime>\n");
 }
 
@@ -875,7 +873,7 @@
 	non_options_idx = _process_args(argc, argv);
 	// We need the session_dir and two non-option values passed -- starttime and endtime.
 	if (!session_dir || (non_options_idx != argc - 2)) {
-		__print_usage(NULL);
+		__print_usage();
 		fflush(stdout);
 		rc = EXIT_FAILURE;
 		goto out;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks