summaryrefslogtreecommitdiff
path: root/lib/diffseq.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-21 13:49:54 +0100
committerJim Meyering <meyering@redhat.com>2009-11-21 13:49:54 +0100
commita823652ce27628bbccd09f7614a7508641b4f004 (patch)
tree504151c1e52559327e913a649e66f8c99be173bf /lib/diffseq.h
parent481f709ceba803288289da8e11a52d309d0fc9a1 (diff)
downloadgnulib-a823652ce27628bbccd09f7614a7508641b4f004.tar.gz
diffseq: remove useless assignment to "best"
* lib/diffseq.h (diag) [USE_HEURISTIC]: Remove useless "best = 0" assignment. At that point "best" is already guaranteed to be zero.
Diffstat (limited to 'lib/diffseq.h')
-rw-r--r--lib/diffseq.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/diffseq.h b/lib/diffseq.h
index add2fedc30..509dac86be 100644
--- a/lib/diffseq.h
+++ b/lib/diffseq.h
@@ -299,7 +299,6 @@ diag (OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim, bool find_minimal,
return;
}
- best = 0;
for (d = bmax; d >= bmin; d -= 2)
{
OFFSET dd = d - bmid;