fixed compiler warnings
This commit is contained in:
@@ -116,7 +116,6 @@ int main (int argc, char *argv[])
|
|||||||
gchar *name = NULL, *uuid = NULL, *service = NULL, *keyring = NULL, *pass;
|
gchar *name = NULL, *uuid = NULL, *service = NULL, *keyring = NULL, *pass;
|
||||||
GOptionContext *context;
|
GOptionContext *context;
|
||||||
GnomeProgram *program = NULL;
|
GnomeProgram *program = NULL;
|
||||||
int exit_status = 1;
|
|
||||||
char buf, *agent, *type;
|
char buf, *agent, *type;
|
||||||
guint32 itemid;
|
guint32 itemid;
|
||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
@@ -221,8 +220,6 @@ int main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GtkWidget *dialog;
|
|
||||||
|
|
||||||
dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR,
|
dialog = gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR,
|
||||||
GTK_BUTTONS_OK,
|
GTK_BUTTONS_OK,
|
||||||
_("Configuration uses ssh-agent for authentication, "
|
_("Configuration uses ssh-agent for authentication, "
|
||||||
@@ -235,7 +232,7 @@ int main (int argc, char *argv[])
|
|||||||
printf("\n\n");
|
printf("\n\n");
|
||||||
/* flush output, wait for input */
|
/* flush output, wait for input */
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
fread(&buf, 1, sizeof(buf), stdin);
|
if (fread(&buf, 1, sizeof(buf), stdin));
|
||||||
g_object_unref(program);
|
g_object_unref(program);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user