From 2533d87d8779ba2520161c9d89bbc2d4e8b3c114 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 4 Apr 2011 22:16:28 +0300 Subject: [PATCH 1/1] Replace postfix decrement operator with prefix --- projects/sgconf/parser.cpp | 2 +- projects/sgconf_xml/parser.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/sgconf/parser.cpp b/projects/sgconf/parser.cpp index 20dd0614..990a2971 100644 --- a/projects/sgconf/parser.cpp +++ b/projects/sgconf/parser.cpp @@ -107,7 +107,7 @@ while (n != ans->end()) if (++n == ans->end()) done = 1; - n--; + --n; if (XML_Parse(parser, n->c_str(), len, done) == XML_STATUS_ERROR) { diff --git a/projects/sgconf_xml/parser.cpp b/projects/sgconf_xml/parser.cpp index 12a1c7a2..919a8c19 100644 --- a/projects/sgconf_xml/parser.cpp +++ b/projects/sgconf_xml/parser.cpp @@ -162,7 +162,7 @@ while (n != ans->end()) if (++n == ans->end()) done = 1; - n--; + --n; if (XML_Parse(parser, n->c_str(), len, done) == XML_STATUS_ERROR) { -- 2.44.2