tools: minor clean-up

Get rid of superfluous argument.
This commit is contained in:
Tim-Philipp Müller 2012-06-26 17:27:31 +01:00
parent 6438a0439d
commit 1c7ce1594a
4 changed files with 4 additions and 4 deletions

View 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");

View 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)

View 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");

View 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;