[gnumeric] ssdiff: code cleanup.



commit a6a564205bfe84d6a3a832512fe7efbbf9ca71b5
Author: Morten Welinder <terra gnome org>
Date:   Sun Dec 3 18:55:09 2017 -0500

    ssdiff: code cleanup.

 src/ssdiff.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/ssdiff.c b/src/ssdiff.c
index 146418c..9c2aa2f 100644
--- a/src/ssdiff.c
+++ b/src/ssdiff.c
@@ -185,6 +185,13 @@ null_sheet_attr_int_changed (G_GNUC_UNUSED GnmDiffState *state,
 {
 }
 
+static void
+null_colrow_changed (G_GNUC_UNUSED GnmDiffState *state,
+                    G_GNUC_UNUSED ColRowInfo const *oc, G_GNUC_UNUSED ColRowInfo const *nc,
+                    G_GNUC_UNUSED gboolean is_cols, G_GNUC_UNUSED int i)
+{
+}
+
 /* -------------------------------------------------------------------------- */
 
 static gboolean
@@ -812,13 +819,6 @@ highlight_apply (GnmDiffState *state, const char *sheetname,
 }
 
 static void
-highlight_colrow_changed (GnmDiffState *state, ColRowInfo const *oc, ColRowInfo const *nc,
-                         gboolean is_cols, int i)
-{
-       // What?
-}
-
-static void
 highlight_cell_changed (GnmDiffState *state,
                        GnmCell const *oc, GnmCell const *nc)
 {
@@ -850,7 +850,7 @@ static const GnmDiffActions highlight_actions = {
        null_sheet_end,
        null_sheet_order_changed,
        null_sheet_attr_int_changed,
-       highlight_colrow_changed,
+       null_colrow_changed,
        highlight_cell_changed,
        highlight_style_changed,
 };


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