作図ソフト dia の改良版
Révision | 7ff3cbb07369c0bca9d19b957d45dc9dd1c40aee (tree) |
---|---|
l'heure | 2014-10-02 07:23:48 |
Auteur | Hans Breuer <hans@breu...> |
Commiter | Hans Breuer |
[warningectomy] variable 'flip' is used uninitialized whenever ...
path-math.c:579:14: warning: variable 'flip' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
path-math.c:590:7: note: uninitialized use occurs here
path-math.c:579:10: note: remove the 'if' if its condition is always true
path-math.c:569:16: note: initialize the variable 'flip' to silence this warning
@@ -585,6 +585,7 @@ _append_segments (GArray *path, | ||
585 | 585 | bp.type = BEZ_MOVE_TO; |
586 | 586 | bp.p1 = sseg->p0; |
587 | 587 | g_array_append_val (path, bp); |
588 | + flip = FALSE; | |
588 | 589 | } |
589 | 590 | |
590 | 591 | if (flip) { |