Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski:test:electronics
geda-gaf
geda-gaf-fix-uninitialized-variable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File geda-gaf-fix-uninitialized-variable.patch of Package geda-gaf
diff -up geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c.aaaa geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c --- geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c.aaaa 2019-10-08 16:54:21.000000000 +0200 +++ geda-gaf-1.10.0/contrib/gmk_sym/convert_sym.c 2020-02-26 14:28:48.223952867 +0100 @@ -1510,6 +1510,7 @@ do_instance(FILE *fp) * I #instance LIB:NAME #PAGE #X #Y #ROTATION #MAGNIFICATION ' */ + mirror = 0; text[0] = 0; lib[0] = 0; name[0] = 0; diff -up geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c.aaaa geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c --- geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c.aaaa 2020-02-26 13:26:16.619008214 +0100 +++ geda-gaf-1.10.0/gattrib/src/gtksheet_2_2.c 2020-02-26 13:28:49.741544951 +0100 @@ -8418,6 +8418,9 @@ gtk_sheet_position_child(GtkSheet *sheet gint yoffset = 0; GdkRectangle area; +// avoid build fail due to possibly uninitialized variables + area.y = area.x = 0; + gtk_widget_get_child_requisition(child->widget, &child_requisition); if(sheet->column_titles_visible) diff -up geda-gaf-1.10.0/gschem/src/gschem_page_view.c.aaaa geda-gaf-1.10.0/gschem/src/gschem_page_view.c --- geda-gaf-1.10.0/gschem/src/gschem_page_view.c.aaaa 2020-10-19 01:31:05.126318524 +0200 +++ geda-gaf-1.10.0/gschem/src/gschem_page_view.c 2020-10-19 01:31:31.000241957 +0200 @@ -583,10 +583,10 @@ gschem_page_view_invalidate_screen_rect void gschem_page_view_invalidate_world_rect (GschemPageView *view, int left, int top, int right, int bottom) { - int screen_bottom; - int screen_right; - int screen_left; - int screen_top; + int screen_bottom = 0; + int screen_right = 0; + int screen_left = 0; + int screen_top = 0; g_return_if_fail (view != NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor