File missing-return.patch of Package MozillaSunbird

--- gfx/src/gtk/nsFontMetricsUtils.cpp
+++ gfx/src/gtk/nsFontMetricsUtils.cpp
@@ -74,6 +74,8 @@
 
 #ifdef MOZ_ENABLE_COREXFONTS
     return nsFontMetricsGTK::GetHints();
+#else
+    return 0;
 #endif
 }
 
@@ -94,6 +96,8 @@
 
 #ifdef MOZ_ENABLE_COREXFONTS
     return nsFontMetricsGTK::FamilyExists(aDevice, aName);
+#else
+    return 0;
 #endif
 }
 
openSUSE Build Service is sponsored by