diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-07-17 19:43:08 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-07-17 19:43:08 +0000 |
commit | ae8d9d44614752fd3b67c76caf61f77684f7d485 (patch) | |
tree | 7c825592c05a14dbfe38df538a7a77e9cc2f42a1 | |
parent | 2c773fad775fd9799b8f6806b695558fb99dab4d (diff) | |
download | wireshark-ae8d9d44614752fd3b67c76caf61f77684f7d485.tar.gz |
Fix Coverity CID 709722: Logically dead code.
svn path=/trunk/; revision=43770
-rw-r--r-- | ui/gtk/font_utils.c | 3 |
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 |