mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-25 02:47:01 +00:00
Fix various warnings
Missing header, usage of the wrong variable, and bad function signature. https://bugzilla.gnome.org/show_bug.cgi?id=638930
This commit is contained in:
parent
a11d1f427f
commit
e0ba73ff48
|
@ -8,7 +8,7 @@ typedef struct
|
||||||
GitgRepository *repository;
|
GitgRepository *repository;
|
||||||
} RepositoryInfo;
|
} RepositoryInfo;
|
||||||
|
|
||||||
static gboolean
|
static void
|
||||||
remove_all (gchar const *path,
|
remove_all (gchar const *path,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <libgitg/gitg-shell.h>
|
#include <libgitg/gitg-shell.h>
|
||||||
#include <gio/gunixinputstream.h>
|
#include <gio/gunixinputstream.h>
|
||||||
|
@ -96,7 +97,7 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
gitg_debug_init ();
|
gitg_debug_init ();
|
||||||
|
|
||||||
if (i == 1)
|
if (argc == 1)
|
||||||
{
|
{
|
||||||
g_print ("Please specify a command...\n");
|
g_print ("Please specify a command...\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue