From: Benjamin Peterson Date: Sun, 24 Oct 2010 03:41:46 +0000 (+0000) Subject: tighten loop X-Git-Tag: v3.2a4~367 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4519c14ca5f08247207616ccab4b652abf584c1;p=thirdparty%2FPython%2Fcpython.git tighten loop --- diff --git a/Python/pythonrun.c b/Python/pythonrun.c index cf8f7bf2a767..1b0a84bd6572 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1363,11 +1363,8 @@ print_error_text(PyObject *f, int offset, const char *text) if (offset == -1) return; PyFile_WriteString(" ", f); - offset--; - while (offset > 0) { + while (--offset) PyFile_WriteString(" ", f); - offset--; - } PyFile_WriteString("^\n", f); }