Skip to content

Commit f97ffce

Browse files
author
Christoph M. Wintersteiger
committed
Silenced GCC warning about empty loop body.
1 parent f9bd8f6 commit f97ffce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sat/sat_types.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ namespace sat {
166166
if (contains(v)) {
167167
m_in_set[v] = false;
168168
unsigned i = 0;
169-
for (i = 0; i < m_set.size() && m_set[i] != v; ++i);
169+
for (i = 0; i < m_set.size() && m_set[i] != v; ++i)
170+
;
170171
SASSERT(i < m_set.size());
171172
m_set[i] = m_set.back();
172173
m_set.pop_back();

0 commit comments

Comments
 (0)