[dia] [warningectomy] 'matrix_*_to_bezier' defined but not used
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] 'matrix_*_to_bezier' defined but not used
- Date: Sat, 4 May 2013 19:01:16 +0000 (UTC)
commit f0fbdc632dafac9f51396413d244be469712a0d2
Author: Hans Breuer <hans breuer org>
Date: Sat May 4 19:35:25 2013 +0200
[warningectomy] 'matrix_*_to_bezier' defined but not used
just silenced with G_GNUC_UNUSED
plug-ins/xfig/xfig-import.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/xfig/xfig-import.c b/plug-ins/xfig/xfig-import.c
index 1f637b6..69e1dbc 100644
--- a/plug-ins/xfig/xfig-import.c
+++ b/plug-ins/xfig/xfig-import.c
@@ -677,13 +677,14 @@ static BezPoint *transform_spline(int npoints, Point *points, gboolean closed) {
* [ 0 1 30 5]
* [ 0 0 30 5]
*/
-
+G_GNUC_UNUSED
static real matrix_bspline_to_bezier[4][4] =
{{1/6.0, 4/6.0, 1/6.0, 0},
{0, 4/6.0, 2/6.0, 0},
{0, 2/6.0, 4/6.0, 0},
{0, 1/6.0, 4/6.0, 1/6.0}};
+G_GNUC_UNUSED
static real matrix_catmull_to_bezier[4][4] =
{{0, 1, 4, 1},
{-1/6.0, 1, 25/26.0, 1},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]