Bug 18666

Summary: Trailing comma in initializer (a C error)
Product: poppler Reporter: Bernard Leak <bernard>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: low Keywords: janitor
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bernard Leak 2008-11-22 12:07:02 UTC
It's in poppler-0.10.1/test/pdf-inspector.cc at line 44.
It's still in the live tree as I type this (I checked with cgit).

Every compiler in creation accepts this, but I compile with
gcc -pedantic, which (correctly) complains about the trailing comma.

I think the menu of components for reporting bugs against
should include a "tests" option.

A patch is attached.
Comment 1 Albert Astals Cid 2008-11-23 01:58:55 UTC
You forgot the patch, but that one was easy so i could do it ;-)

Thanks for reporting!

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.