commit | 1691b57dbad9cfc15b9a8b72f8b376733b934ffe | [log] [tgz] |
---|---|---|
author | Doug Kwan <dougkwan@google.com> | Fri Jun 24 16:03:20 2011 -0700 |
committer | Doug Kwan <dougkwan@google.com> | Fri Jun 24 16:03:20 2011 -0700 |
tree | d9020aa61d23eab827e41aa89321c325df48970f | |
parent | 6acb9a7ea3d7564944e12cbc73a857b88c1301ee [diff] |
Fix gcc-4.6 warning. This is a also fixed in upstream. Change-Id: I48d060c0e59466e3cd4a824d698199f7b181e6b6 https://code.ros.org/trac/opencv/changeset/5473#file15
diff --git a/cv/src/cvinpaint.cpp b/cv/src/cvinpaint.cpp index fbf471c..705612b 100644 --- a/cv/src/cvinpaint.cpp +++ b/cv/src/cvinpaint.cpp
@@ -103,7 +103,7 @@ for (i=1; i<=num; i++) { mem[i].prev = mem+i-1; mem[i].next = mem+i+1; - mem[i].i = mem[i].i = -1; + mem[i].i = -1; mem[i].T = FLT_MAX; } tail = mem+i;