mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
tools: minor clean-up
Get rid of superfluous argument.
This commit is contained in:
parent
6438a0439d
commit
1c7ce1594a
4 changed files with 4 additions and 4 deletions
|
@ -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");
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue