summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-02-25 21:53:43 +0000
committeralberth <alberth@openttd.org>2011-02-25 21:53:43 +0000
commit1dbc0a20bed5cd85035b4f84a649c4f7386b07ab (patch)
tree2913d6359a374885441eeb51a67c6e0c7e0f08ef /src/misc
parent87c8d97aca779cb227a4e015233cd266b63f2b79 (diff)
downloadopenttd-1dbc0a20bed5cd85035b4f84a649c4f7386b07ab.tar.xz
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/hashtable.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/hashtable.hpp b/src/misc/hashtable.hpp
index 46ef7ca47..3289d3bbf 100644
--- a/src/misc/hashtable.hpp
+++ b/src/misc/hashtable.hpp
@@ -67,7 +67,7 @@ struct CHashTableSlotT
return true;
}
Titem_ *pItem = m_pFirst;
- while (true) {
+ for (;;) {
if (pItem == NULL) {
return false;
}