[gegl] ops: annotate generated code with G_GNUC_UNUSED
- From: Ãyvind KolÃs <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] ops: annotate generated code with G_GNUC_UNUSED
- Date: Sun, 25 Mar 2012 02:56:42 +0000 (UTC)
commit 1823b701e1928e9ccf64ae7c84126de7cffea3c7
Author: Ãyvind KolÃs <pippin gimp org>
Date: Sun Mar 25 03:56:30 2012 +0100
ops: annotate generated code with G_GNUC_UNUSED
operations/common/over.c | 1 -
operations/generated/clear.c | 4 ++--
operations/generated/dst-atop.c | 4 ++--
operations/generated/dst-in.c | 4 ++--
operations/generated/dst-out.c | 4 ++--
operations/generated/dst-over.c | 4 ++--
operations/generated/dst.c | 4 ++--
operations/generated/src-atop.c | 4 ++--
operations/generated/src-in.c | 4 ++--
operations/generated/src-out.c | 4 ++--
operations/generated/src-over.c | 4 ++--
operations/generated/src.c | 4 ++--
operations/generated/svg-12-porter-duff.rb | 8 ++++----
operations/generated/svg-multiply.c | 3 ++-
operations/generated/xor.c | 4 ++--
15 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/operations/common/over.c b/operations/common/over.c
index eadbdce..0e21b40 100644
--- a/operations/common/over.c
+++ b/operations/common/over.c
@@ -48,7 +48,6 @@ process (GeglOperation *op,
glong n_pixels,
const GeglRectangle *roi)
{
- gint i;
gfloat * GEGL_ALIGNED in = in_buf;
gfloat * GEGL_ALIGNED aux = aux_buf;
gfloat * GEGL_ALIGNED out = out_buf;
diff --git a/operations/generated/clear.c b/operations/generated/clear.c
index 40c8818..f454f8d 100644
--- a/operations/generated/clear.c
+++ b/operations/generated/clear.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/dst-atop.c b/operations/generated/dst-atop.c
index 021b411..66aa14a 100644
--- a/operations/generated/dst-atop.c
+++ b/operations/generated/dst-atop.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/dst-in.c b/operations/generated/dst-in.c
index a41c93a..2ad4497 100644
--- a/operations/generated/dst-in.c
+++ b/operations/generated/dst-in.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/dst-out.c b/operations/generated/dst-out.c
index 4634193..1f15d9c 100644
--- a/operations/generated/dst-out.c
+++ b/operations/generated/dst-out.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/dst-over.c b/operations/generated/dst-over.c
index e6628a4..a78f7c0 100644
--- a/operations/generated/dst-over.c
+++ b/operations/generated/dst-over.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/dst.c b/operations/generated/dst.c
index 14a7183..5bdc1a3 100644
--- a/operations/generated/dst.c
+++ b/operations/generated/dst.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/src-atop.c b/operations/generated/src-atop.c
index 71f1144..144325b 100644
--- a/operations/generated/src-atop.c
+++ b/operations/generated/src-atop.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/src-in.c b/operations/generated/src-in.c
index 9e5a8f3..a2c616c 100644
--- a/operations/generated/src-in.c
+++ b/operations/generated/src-in.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/src-out.c b/operations/generated/src-out.c
index 32985ef..f4e4553 100644
--- a/operations/generated/src-out.c
+++ b/operations/generated/src-out.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/src-over.c b/operations/generated/src-over.c
index dd6abc0..bacae4a 100644
--- a/operations/generated/src-over.c
+++ b/operations/generated/src-over.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/src.c b/operations/generated/src.c
index 8eef194..78a15c7 100644
--- a/operations/generated/src.c
+++ b/operations/generated/src.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/svg-12-porter-duff.rb b/operations/generated/svg-12-porter-duff.rb
index daac74a..8d798dd 100755
--- a/operations/generated/svg-12-porter-duff.rb
+++ b/operations/generated/svg-12-porter-duff.rb
@@ -149,7 +149,7 @@ a.each do
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -157,7 +157,7 @@ a.each do
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
@@ -214,7 +214,7 @@ b.each do
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -222,7 +222,7 @@ b.each do
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
diff --git a/operations/generated/svg-multiply.c b/operations/generated/svg-multiply.c
index b94a141..8a47bcf 100644
--- a/operations/generated/svg-multiply.c
+++ b/operations/generated/svg-multiply.c
@@ -58,7 +58,8 @@ process (GeglOperation *op,
void *aux_buf,
void *out_buf,
glong n_pixels,
- const GeglRectangle *roi)
+ const GeglRectangle *roi,
+ int level)
{
gfloat *in = in_buf;
gfloat *aux = aux_buf;
diff --git a/operations/generated/xor.c b/operations/generated/xor.c
index b7080b4..1ee39a9 100644
--- a/operations/generated/xor.c
+++ b/operations/generated/xor.c
@@ -71,7 +71,7 @@ process (GeglOperation *op,
for (i = 0; i < n_pixels; i++)
{
gint j;
- gfloat aA, aB, aD;
+ gfloat aA G_GNUC_UNUSED, aB G_GNUC_UNUSED, aD G_GNUC_UNUSED;
aB = in[3];
aA = aux[3];
@@ -79,7 +79,7 @@ process (GeglOperation *op,
for (j = 0; j < 3; j++)
{
- gfloat cA, cB;
+ gfloat cA G_GNUC_UNUSED, cB G_GNUC_UNUSED;
cB = in[j];
cA = aux[j];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]