diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 22:55:55 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 22:55:55 +0000 |
| commit | d463240d8fd961d45b47ba96e0d93c37e1719da7 (patch) | |
| tree | 25be35855525cba941ff28f0d1ea7684dc1a258c /src/livarot/PathStroke.cpp | |
| parent | Fix for #970355, radial gradient using object bounding box. (diff) | |
| download | inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.tar.gz inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.zip | |
code cleanup: quiet warnings with gcc.
(bzr r11888)
Diffstat (limited to 'src/livarot/PathStroke.cpp')
| -rw-r--r-- | src/livarot/PathStroke.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livarot/PathStroke.cpp b/src/livarot/PathStroke.cpp index 93280d794..cdd5cae6d 100644 --- a/src/livarot/PathStroke.cpp +++ b/src/livarot/PathStroke.cpp @@ -20,7 +20,7 @@ */ // until i find something better -Geom::Point StrokeNormalize(const Geom::Point value) { +static Geom::Point StrokeNormalize(const Geom::Point value) { double length = L2(value); if ( length < 0.0000001 ) { return Geom::Point(0, 0); @@ -30,7 +30,7 @@ Geom::Point StrokeNormalize(const Geom::Point value) { } // faster version if length is known -Geom::Point StrokeNormalize(const Geom::Point value, double length) { +static Geom::Point StrokeNormalize(const Geom::Point value, double length) { if ( length < 0.0000001 ) { return Geom::Point(0, 0); } else { |
