Bug 12664 - test-poppler-glib.c:238: warning: 'button_type_str' is used uninitialized in this function
Summary: test-poppler-glib.c:238: warning: 'button_type_str' is used uninitialized in ...
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 09:39 UTC by Michael Wolf
Modified: 2007-10-03 11:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
This patch makes the warning go away (411 bytes, patch)
2007-10-03 09:42 UTC, Michael Wolf
Details | Splinter Review

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.