Bug 12664

Summary: test-poppler-glib.c:238: warning: 'button_type_str' is used uninitialized in this function
Product: poppler Reporter: Michael Wolf <maw>
Component: glib frontendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: This patch makes the warning go away

Description Michael Wolf 2007-10-03 09:39:15 UTC
There's a warning, probably harmless, about a potentially uninitialized variable in test-poppler-glib.c.
Comment 1 Michael Wolf 2007-10-03 09:42:23 UTC
Created attachment 11881 [details] [review]
This patch makes the warning go away

This patch makes the warning go away.
Comment 2 Carlos Garcia Campos 2007-10-03 10:48:07 UTC
Patch looks good to me except g_assert_unreached() doesn't exist, it's g_assert_not_reached() :-P I've just committed it. Thank you very much. 
Comment 3 Michael Wolf 2007-10-03 11:35:56 UTC
Duh, yeah.  Serves me right for making the diff twice and not testing the second time.  :P

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.