summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnulib-local/ChangeLog5
-rw-r--r--gnulib-local/lib/diffseq.h.diff13
2 files changed, 18 insertions, 0 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog
index 1b2ce2229..064bea1ea 100644
--- a/gnulib-local/ChangeLog
+++ b/gnulib-local/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-24 Daiki Ueno <ueno@gnu.org>
+
+ gnulib-local: Suppress compiler warning with -Wunused
+ * lib/diffseq.h.diff: New file.
+
2014-12-16 Daiki Ueno <ueno@gnu.org>
Backport iOS check from Gnulib
diff --git a/gnulib-local/lib/diffseq.h.diff b/gnulib-local/lib/diffseq.h.diff
new file mode 100644
index 000000000..ef0d4607a
--- /dev/null
+++ b/gnulib-local/lib/diffseq.h.diff
@@ -0,0 +1,13 @@
+diff --git a/diffseq.h b/diffseq.h
+index 1974c36..02ef9f2 100644
+--- a/diffseq.h
++++ b/diffseq.h
+@@ -186,7 +186,7 @@ diag (OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim,
+ for (c = 1;; ++c)
+ {
+ OFFSET d; /* Active diagonal. */
+- bool big_snake = false;
++ bool big_snake _GL_UNUSED = false;
+
+ /* Extend the top-down search by an edit step in each diagonal. */
+ if (fmin > dmin)