Commit ebe1a062 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

tests: Remove unused variables

parent 33ed1d86
......@@ -114,10 +114,7 @@ static void process_devices(char **argv)
int main(int argc, char **argv)
{
GMainLoop *loop;
g_type_init();
loop = g_main_loop_new(NULL, FALSE);
create_manager();
if (argc < 2) {
......
......@@ -118,7 +118,6 @@ static void release_device(DBusGProxy *dev)
int main(int argc, char **argv)
{
GMainLoop *loop;
DBusGProxy *dev;
char *username;
......@@ -127,7 +126,6 @@ int main(int argc, char **argv)
dbus_g_object_register_marshaller (fprintd_marshal_VOID__STRING_BOOLEAN,
G_TYPE_NONE, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_INVALID);
loop = g_main_loop_new(NULL, FALSE);
create_manager();
username = NULL;
......
......@@ -130,10 +130,7 @@ static void process_devices(char **argv)
int main(int argc, char **argv)
{
GMainLoop *loop;
g_type_init();
loop = g_main_loop_new(NULL, FALSE);
create_manager();
if (argc < 2) {
......
......@@ -166,7 +166,6 @@ static const GOptionEntry entries[] = {
int main(int argc, char **argv)
{
GOptionContext *context;
GMainLoop *loop;
GError *err = NULL;
DBusGProxy *dev;
char *username;
......@@ -199,7 +198,6 @@ int main(int argc, char **argv)
g_log_set_always_fatal (fatal_mask);
}
loop = g_main_loop_new(NULL, FALSE);
create_manager();
dev = open_device(username);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment