tools: minor clean-up
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 26 Jun 2012 16:27:31 +0000 (17:27 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 26 Jun 2012 16:30:22 +0000 (17:30 +0100)
Get rid of superfluous argument.

tools/gst-inspect.c
tools/gst-launch.c
tools/gst-typefind.c
tools/tools.h

index 00f892f..c08f335 100644 (file)
@@ -1550,7 +1550,7 @@ main (int argc, char *argv[])
   gst_init (&argc, &argv);
 #endif
 
-  gst_tools_print_version ("gst-inspect");
+  gst_tools_print_version ();
 
   if (print_all && argc > 1) {
     g_print ("-a requires no extra arguments\n");
index 4a1ca3b..bd4fee7 100644 (file)
@@ -967,7 +967,7 @@ main (int argc, char *argv[])
   gst_init (&argc, &argv);
 #endif
 
-  gst_tools_print_version ("gst-launch");
+  gst_tools_print_version ();
 
 #ifndef DISABLE_FAULT_HANDLER
   if (!no_fault)
index cef9004..4cab8c4 100644 (file)
@@ -164,7 +164,7 @@ main (int argc, char *argv[])
   }
   g_option_context_free (ctx);
 
-  gst_tools_print_version ("gst-typefind");
+  gst_tools_print_version ();
 
   if (filenames == NULL || *filenames == NULL) {
     g_print ("Please give a filename to typefind\n\n");
index 12144c5..084085e 100644 (file)
@@ -42,7 +42,7 @@ static gboolean __gst_tools_version = FALSE;
       N_("Print version information and exit"), NULL }
 
 static void
-gst_tools_print_version (const gchar * tool)
+gst_tools_print_version (void)
 {
   if (__gst_tools_version) {
     gchar *version_str;