aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/font_utils.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-07-17 19:43:08 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-07-17 19:43:08 +0000
commitae8d9d44614752fd3b67c76caf61f77684f7d485 (patch)
tree7c825592c05a14dbfe38df538a7a77e9cc2f42a1 /ui/gtk/font_utils.c
parent2c773fad775fd9799b8f6806b695558fb99dab4d (diff)
Fix Coverity CID 709722: Logically dead code.
svn path=/trunk/; revision=43770
Diffstat (limited to 'ui/gtk/font_utils.c')
-rw-r--r--ui/gtk/font_utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/gtk/font_utils.c b/ui/gtk/font_utils.c
index 0f32fdbdcc..e6d5a16dc8 100644
--- a/ui/gtk/font_utils.c
+++ b/ui/gtk/font_utils.c
@@ -232,9 +232,6 @@ user_font_apply(void) {
/* load normal and bold font */
new_r_font = pango_font_description_from_string(gui_font_name);
if (new_r_font == NULL) {
- /* We're no longer using the new fonts; unreference them. */
- if (new_r_font != NULL)
- pango_font_description_free(new_r_font);
g_free(gui_font_name);
/* We let our caller pop up a dialog box, as the error message