Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
drgeo
drgeo-1.1.0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File drgeo-1.1.0.patch of Package drgeo
--- geo/drgeo_arcCircle.cc +++ geo/drgeo_arcCircle.cc @@ -439,6 +439,7 @@ } p.set (cos (origin + am), sin (origin + am)); p = center + radius * p; + return p; } gdouble @@ -519,4 +520,5 @@ break; } } + return false; } --- geo/drgeo_circle.cc +++ geo/drgeo_circle.cc @@ -457,4 +457,6 @@ return c.getIntersection (*((geometricObject *) this), p, k); break; } + /* not reached */ + return false; } --- geo/drgeo_figure.cc +++ geo/drgeo_figure.cc @@ -1309,7 +1309,7 @@ gint drgeoFigure::preferedUndoLevel () { - atoi (drgeoConfigGet (":undoLevel")); + return atoi (drgeoConfigGet (":undoLevel")); } void --- geo/drgeo_geometricObject.cc +++ geo/drgeo_geometricObject.cc @@ -389,6 +389,8 @@ return drgeoThicknessNormal; else if (!strcmp (str, "Large")) return drgeoThicknessLarge; + /* not reached */ + return drgeoThicknessLarge; } gboolean --- geo/drgeo_geometricObject.h +++ geo/drgeo_geometricObject.h @@ -78,16 +78,22 @@ virtual function for curve object */ virtual drgeoPoint & getPointAt (gdouble abscissa) { + drgeoPoint x; + return x; }; virtual drgeoPoint & getClosestPoint (drgeoPoint & p) { + drgeoPoint x; + return x; }; virtual gdouble getAbscissa (drgeoPoint & p) { + return 0; }; virtual gboolean getIntersection (geometricObject & c, drgeoPoint & p, gint k) { + return false; }; protected: liste_elem * figureList; --- geo/drgeo_gtkstyle.cc +++ geo/drgeo_gtkstyle.cc @@ -154,6 +154,7 @@ GTK_SIGNAL_FUNC (style_color_button_cb), 10); connectWithData (xml, d, "yellow", GTK_SIGNAL_FUNC (style_color_button_cb), 11); + return NULL; } static void --- geo/drgeo_halfLine.cc +++ geo/drgeo_halfLine.cc @@ -331,4 +331,5 @@ return c.getIntersection (*((geometricObject *) this), p, k); break; } + return false; } --- geo/drgeo_line.cc +++ geo/drgeo_line.cc @@ -405,5 +405,6 @@ case LOCUS: return c.getIntersection (*((geometricObject *) this), p, k); } + return false; } --- geo/drgeo_point.cc +++ geo/drgeo_point.cc @@ -556,5 +556,7 @@ return drgeoPointRoundEmpty; else if (!strcmp (str, "SquarreEmpty")) return drgeoPointRecEmpty; + /* not reached */ + return drgeoPointRecEmpty; } --- geo/drgeo_segment.cc +++ geo/drgeo_segment.cc @@ -315,4 +315,6 @@ return c.getIntersection (*((geometricObject *) this), p, k); break; } + /* not reached */ + return false; }
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