[cfe-commits] r62277 - /cfe/trunk/lib/Lex/PTHLexer.cpp
Ted Kremenek
kremenek at apple.com
Thu Jan 15 11:28:38 PST 2009
Author: kremenek
Date: Thu Jan 15 13:28:38 2009
New Revision: 62277
URL: http://llvm.org/viewvc/llvm-project?rev=62277&view=rev
Log:
PTH: Fix termination condition in binary search.
Modified:
cfe/trunk/lib/Lex/PTHLexer.cpp
Modified: cfe/trunk/lib/Lex/PTHLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PTHLexer.cpp?rev=62277&r1=62276&r2=62277&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PTHLexer.cpp (original)
+++ cfe/trunk/lib/Lex/PTHLexer.cpp Thu Jan 15 13:28:38 2009
@@ -656,7 +656,7 @@
max = i;
assert(!(max == min) || (min == i));
}
- while (1);
+ while (min != max);
return 0;
}
More information about the cfe-commits
mailing list