The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix compiler warnings

These changes was commited to the Birdfont repository Sun, 12 Jun 2016 14:30:04 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sun, 12 Jun 2016 14:30:04 +0000]

Updated Files

libbirdfont/OverView.vala
libbirdfont/TrackTool.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -95,7 +95,6 @@ string n = glyph_collection.get_current ().name; bool selected = tabs.select_char (n); GlyphCanvas canvas; - Glyph g = glyph_collection.get_current (); GlyphTab glyph_tab; if (!selected) {
--- a/libbirdfont/TrackTool.vala +++ b/libbirdfont/TrackTool.vala @@ -109,7 +109,6 @@ end_point.path.reverse (); } - Path path = end_point.path; glyph.set_active_path (end_point.path); } else { p = new Path (); @@ -558,10 +557,6 @@ * @return the last removed point. */ public void convert_points_to_line () { - EditPoint ep, last_point; - double sum_x, sum_y, nx, ny; - int px, py; - EditPoint average, previous; Path p; Glyph glyph; Gee.ArrayList<EditPoint> points; @@ -585,9 +580,6 @@ warning ("Missing point."); return; } - - sum_x = 0; - sum_y = 0; int start = p.points.size - 1 - added_points; int stop = p.points.size - 1;