diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-12-24 13:38:25 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-12-24 13:38:25 +0900 |
commit | 6105028ad1f6181084f31087c9b698dec68261f4 (patch) | |
tree | 342f22b7a20572000810a7f3be83b37fea5222d5 /gnulib-local | |
parent | 49783c17842bef82e7b712e1a1a3175daddb7ae1 (diff) | |
download | external_gettext-6105028ad1f6181084f31087c9b698dec68261f4.zip external_gettext-6105028ad1f6181084f31087c9b698dec68261f4.tar.gz external_gettext-6105028ad1f6181084f31087c9b698dec68261f4.tar.bz2 |
gnulib-local: Suppress compiler warning with -Wunused
* lib/diffseq.h.diff: New file.
Diffstat (limited to 'gnulib-local')
-rw-r--r-- | gnulib-local/ChangeLog | 5 | ||||
-rw-r--r-- | gnulib-local/lib/diffseq.h.diff | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index 1b2ce22..064bea1 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 0000000..ef0d460 --- /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) |