[goffice] Compilation: avoid double semi-colons.



commit 6602d33eb54e4769dc26012f890e7bbb33c678da
Author: Morten Welinder <terra gnome org>
Date:   Tue Mar 19 08:56:50 2013 -0400

    Compilation: avoid double semi-colons.

 goffice/app/go-object.c        |    2 +-
 goffice/app/go-plugin-loader.c |    4 ++--
 goffice/canvas/goc-canvas.c    |    2 +-
 goffice/math/go-matrix3x3.c    |    2 +-
 goffice/math/go-regression.c   |    2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/goffice/app/go-object.c b/goffice/app/go-object.c
index af511b9..85bd76c 100644
--- a/goffice/app/go-object.c
+++ b/goffice/app/go-object.c
@@ -107,7 +107,7 @@ go_object_new_valist (char const *type, char const *first_prop, va_list args)
                        if (t == 0)
                                err = go_error_stack_new (err,
                                        _("Loading plugin '%s' that contains the object '%s'"),
-                                       go_plugin_get_id (plugin), type);;
+                                       go_plugin_get_id (plugin), type);
                }
                if (err != NULL) {
                        go_error_stack_dump (err);
diff --git a/goffice/app/go-plugin-loader.c b/goffice/app/go-plugin-loader.c
index d01b0e0..b83479d 100644
--- a/goffice/app/go-plugin-loader.c
+++ b/goffice/app/go-plugin-loader.c
@@ -149,7 +149,7 @@ go_plugin_loader_load_service (GOPluginLoader *l, GOPluginService *s, GOErrorInf
        if (*err == NULL) {
                gpointer num_services = g_object_get_data (G_OBJECT (l), "num-services");
                g_object_set_data (G_OBJECT (l), "num-services",
-                   GINT_TO_POINTER (GPOINTER_TO_INT (num_services) + 1));;
+                   GINT_TO_POINTER (GPOINTER_TO_INT (num_services) + 1));
        }
 }
 
@@ -187,7 +187,7 @@ go_plugin_loader_unload_service (GOPluginLoader *l, GOPluginService *s, GOErrorI
                gpointer num_services = g_object_get_data (G_OBJECT (l), "num-services");
                g_return_if_fail (num_services != NULL);
                g_object_set_data (G_OBJECT (l), "num-services",
-                   GINT_TO_POINTER (GPOINTER_TO_INT (num_services) - 1));;
+                   GINT_TO_POINTER (GPOINTER_TO_INT (num_services) - 1));
                if (GPOINTER_TO_INT (num_services) == 1) {
                        go_plugin_loader_unload_base (l, &error);
                        go_error_info_free (error);
diff --git a/goffice/canvas/goc-canvas.c b/goffice/canvas/goc-canvas.c
index 10a1eac..6590709 100644
--- a/goffice/canvas/goc-canvas.c
+++ b/goffice/canvas/goc-canvas.c
@@ -197,7 +197,7 @@ enter_notify_cb (GocCanvas *canvas, GdkEventCrossing* event, G_GNUC_UNUSED gpoin
                canvas->scroll_x1 +  (canvas->width - event->x) / canvas->pixels_per_unit:
                canvas->scroll_x1 +  event->x / canvas->pixels_per_unit;
        y = canvas->scroll_y1 + event->y / canvas->pixels_per_unit;
-       item = goc_canvas_get_item_at (canvas, x, y);;
+       item = goc_canvas_get_item_at (canvas, x, y);
        if (item) {
                canvas->cur_event = (GdkEvent *) event;
                canvas->last_item = item;
diff --git a/goffice/math/go-matrix3x3.c b/goffice/math/go-matrix3x3.c
index 485fe0a..e95c5e4 100644
--- a/goffice/math/go-matrix3x3.c
+++ b/goffice/math/go-matrix3x3.c
@@ -92,7 +92,7 @@ go_matrix3x3_to_euler (GOMatrix3x3 const *mat,
                *Theta = acos(mat->a33);
                st = sin(*Theta);
                si = mat->a13 / st;
-               co = - mat->a23 / st;;
+               co = - mat->a23 / st;
                if (fabs(co) > MATRIX_THRESHOLD)
                        *Psi = (co > 0.) ? 0. : 2 * M_PI;
                else
diff --git a/goffice/math/go-regression.c b/goffice/math/go-regression.c
index 7628a9c..7a72429 100644
--- a/goffice/math/go-regression.c
+++ b/goffice/math/go-regression.c
@@ -514,7 +514,7 @@ SUFFIX(regres_from_condition) (CONSTQMATRIX R, int n)
         * We need the absolute largest and smallest.
         */
        for (i = 0; i < n; i++) {
-               DOUBLE e = SUFFIX(fabs)(SUFFIX(go_quad_value)(&R[i][i]));;
+               DOUBLE e = SUFFIX(fabs)(SUFFIX(go_quad_value)(&R[i][i]));
                if (e < emin) emin = e;
                if (e > emax) emax = e;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]