The Birdfont Source Code


All Repositories / birdfont.git / commit – 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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 12 Jun 2016 14:30:04 +0000 (16:30 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 12 Jun 2016 14:30:04 +0000 (16:30 +0200)
commit 9665c72a4928996b8d8115ce0390710230c15d0b
tree e2f6b4d1f09ad18cf34dd08ce00a695a2a800938
parent b5b2aa07be9eb885f91f7bbce73b0d2308d5bc9d
Fix compiler warnings

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;