diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-04-20 16:14:05 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-04-21 01:51:46 +0800 |
commit | 85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5 (patch) | |
tree | d42a54e25eda179c70d46f2b376b67f1d2d1b929 /lib/ephy-print-utils.c | |
parent | a78edd0144a01081ac254b40228c1b7c488df711 (diff) | |
download | gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.gz gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.zst gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.zip |
Remove a few GCC 4.6.0 warnings
Diffstat (limited to 'lib/ephy-print-utils.c')
-rw-r--r-- | lib/ephy-print-utils.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ephy-print-utils.c b/lib/ephy-print-utils.c index 3c6a6e412..dbb28205f 100644 --- a/lib/ephy-print-utils.c +++ b/lib/ephy-print-utils.c @@ -89,7 +89,6 @@ ephy_print_utils_page_setup_new_from_key_file (GKeyFile *key_file, GtkPaperSize *paper_size = NULL; gdouble width, height, top, bottom, left, right; char *name = NULL, *ppd_name = NULL, *display_name = NULL, *orientation = NULL; - gboolean retval = TRUE; GError *err = NULL; g_return_val_if_fail (key_file != NULL, NULL); @@ -97,7 +96,6 @@ ephy_print_utils_page_setup_new_from_key_file (GKeyFile *key_file, if (!g_key_file_has_group (key_file, PAGE_SETUP_GROUP) || !g_key_file_has_group (key_file, PAPER_SIZE_GROUP)) { g_set_error (error, ERROR_QUARK, 0, "Not a valid epiphany page setup file"); - retval = FALSE; goto out; } @@ -105,7 +103,6 @@ ephy_print_utils_page_setup_new_from_key_file (GKeyFile *key_file, v = g_key_file_get_double (kf, group, name, &err); \ if (err != NULL) {\ g_propagate_error (error, err);\ - retval = FALSE;\ goto out;\ } @@ -130,7 +127,6 @@ if (err != NULL) {\ if ((ppd_name == NULL && name == NULL) || orientation == NULL) { g_set_error (error, ERROR_QUARK, 0, "Not a valid epiphany page setup file"); - retval = FALSE; goto out; } |