From d414065410fdc3d317933944e783efa7aeee80b2 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sat, 21 Sep 2013 01:24:44 +0300 Subject: [PATCH 1/1] Silence compiler about empty body in 'for'. --- stglibs/srvconf.lib/netunit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stglibs/srvconf.lib/netunit.cpp b/stglibs/srvconf.lib/netunit.cpp index aabb7780..f70cf27d 100644 --- a/stglibs/srvconf.lib/netunit.cpp +++ b/stglibs/srvconf.lib/netunit.cpp @@ -438,7 +438,7 @@ while (true) bool final = false; size_t pos = 0; - for (; pos < ENC_MSG_LEN && buffer[pos] != 0; pos++); + for (; pos < ENC_MSG_LEN && buffer[pos] != 0; pos++) ; if (pos < ENC_MSG_LEN && buffer[pos] == 0) final = true; -- 2.44.2