tests/visuals: Squash a compiler warning

This commit is contained in:
Colin Walters 2012-01-17 10:24:39 -05:00
parent dba9c2e5a7
commit 626c08a847

View File

@ -66,8 +66,9 @@ main (int argc, char *argv[])
gtk_init (&argc, &argv);
if (argc > 1)
filename = argv[1];
if (argc < 2)
return 1;
filename = argv[1];
builder = gtk_builder_new ();
gtk_builder_add_from_file (builder, filename, NULL);