Closed Bug 310559 Opened 19 years ago Closed 18 years ago

control reaches end of non-void function

Categories

(Core Graveyard :: GFX: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: chpe, Assigned: blizzard)

Details

Attachments

(1 file)

When corefonts are disabled, I get this compiler warning:

/opt/source/mozilla/trunk-ff/mozilla/gfx/src/gtk/nsFontMetricsUtils.cpp: In
function ‘nsresult NS_FontMetricsFamilyExists(nsIDeviceContext*, const nsString&)’:
/opt/source/mozilla/trunk-ff/mozilla/gfx/src/gtk/nsFontMetricsUtils.cpp:98:
attention : control reaches end of non-void function
/opt/source/mozilla/trunk-ff/mozilla/gfx/src/gtk/nsFontMetricsUtils.cpp: In
function ‘PRUint32 NS_FontMetricsGetHints()’:
/opt/source/mozilla/trunk-ff/mozilla/gfx/src/gtk/nsFontMetricsUtils.cpp:78:
attention : control reaches end of non-void function
Attached patch fixSplinter Review
Attachment #197985 - Flags: review+
Did this ever get checked in?  If not, should I do that?  Note that on trunk this code is going away....
gfx/src/gtk/ has been removed on trunk.
This bug doesn't look like a branch candidate to me.

-> WONTFIX
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: