Open Bug 550915 Opened 15 years ago Updated 2 years ago

unreachable code in cairo_scaled_font_glyph_extents

Categories

(Core :: Graphics, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: timeless, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity)

Attachments

(1 file)

(deleted), patch
timeless
: review?
jrmuizel
Details | Diff | Splinter Review
1413 cairo_scaled_font_glyph_extents (cairo_scaled_font_t *scaled_font, 1434 if (num_glyphs == 0) 1435 return; 1437 if (num_glyphs < 0) { 1440 return; after this point, num_glyphs > 0 1498 if (num_glyphs) { 1510 } else { so this is unreachable: 1511 extents->x_advance = 0.0; 1512 extents->y_advance = 0.0; 1513 }
Attached patch proposal (deleted) — Splinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #431166 - Flags: review?(vladimir)
Attachment #431166 - Flags: review?(vladimir) → review?(jmuizelaar)
ping

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: timeless → nobody
Status: ASSIGNED → NEW
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: