Bug 2762

Summary: cairo_pdf_surface.c: void function returning value causes compilation error
Product: cairo Reporter: Damien Carbery <damien.carbery>
Component: pdf backendAssignee: Kristian Høgsberg <krh>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: major    
Priority: high CC: jwatt
Version: 0.9.3   
Hardware: SPARC   
OS: Solaris   
Whiteboard:
i915 platform: i915 features:
Attachments: Remove 'return' from two functions in src/cairo_pdf_surface.c

Description Damien Carbery 2005-03-18 10:26:46 UTC
Solaris 10 x86 using Sun ONE Studio 8 (forte) compiler.

"cairo_pdf_surface.c", line 2329: void function cannot return value
"cairo_pdf_surface.c", line 2352: void function cannot return value

Removing 'return' allows build to continue. Attached patch does this.
Comment 1 Damien Carbery 2005-03-18 10:27:40 UTC
Created attachment 2137 [details] [review]
Remove 'return' from two functions in src/cairo_pdf_surface.c
Comment 2 Kristian Høgsberg 2005-03-18 12:26:24 UTC
Thanks, patch committed.
Comment 3 Carl Worth 2005-08-22 17:14:33 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.