summaryrefslogtreecommitdiff
path: root/pango/pangocairo-fcfont.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-02-22 12:32:01 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-02-22 12:32:01 +0000
commitd2e1ebed4b66b43a4b303cc0d393b73a0b7cbea1 (patch)
tree73a77392192604205ccea1fd3ed0b8b809142402 /pango/pangocairo-fcfont.c
parentc8843282c2cd8cc06134096371a8d6ecba0e46c4 (diff)
downloadpango-d2e1ebed4b66b43a4b303cc0d393b73a0b7cbea1.tar.gz
Bug 332167 – Void function returns value - breaks Solaris build Reported
2006-02-22 Behdad Esfahbod <behdad@gnome.org> Bug 332167 – Void function returns value - breaks Solaris build Reported by Damien Carbery * pango/pangocairo-fcfont (pango_cairo_fc_font_unlock_face): Simply return.
Diffstat (limited to 'pango/pangocairo-fcfont.c')
-rw-r--r--pango/pangocairo-fcfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-fcfont.c b/pango/pangocairo-fcfont.c
index 086368ff..31a91afb 100644
--- a/pango/pangocairo-fcfont.c
+++ b/pango/pangocairo-fcfont.c
@@ -308,7 +308,7 @@ pango_cairo_fc_font_unlock_face (PangoFcFont *font)
PangoCairoFont *cfont = (PangoCairoFont *)font;
cairo_scaled_font_t *scaled_font = pango_cairo_fc_font_get_scaled_font (cfont);
if (G_UNLIKELY (!scaled_font))
- return NULL;
+ return;
cairo_ft_scaled_font_unlock_face (scaled_font);
}