diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-03-08 19:01:12 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-03-10 23:25:26 -0700 |
commit | 7606a46b922dfdb0627f1af6ab1432ae88c79d66 (patch) | |
tree | 0ae3d9865be3c71c306c399c8623342cb2eedf00 | |
parent | 6c2d3b0891f7be6ef4895be75188aa1c6f530bfc (diff) |
Remove useless assignment to 'outline' variable
Flagged by cppcheck 1.64:
[app/xkbcomp/geometry.c:2426] -> [app/xkbcomp/geometry.c:2427]:
(performance) Variable 'outline' is reassigned a value before
the old one has been used.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r-- | geometry.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2423,7 +2423,6 @@ HandleShapeBody(ShapeDef * def, ShapeInfo * si, unsigned merge, ol->points, info); continue; } - outline = NULL; outline = &si->outlines[nOut++]; outline->num_points = ol->nPoints; outline->corner_radius = si->dfltCornerRadius; |