commit | b94767ff44edf5d461d7cb1c8eb5160f83886358 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Tue Feb 22 20:15:44 2011 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Tue Feb 22 20:15:44 2011 +0000 |
tree | b43b482e765b0383b3326779f6815e72b2bacccb | |
parent | 79da6b7075a3d51ae042e77a2afca827e7bce435 [diff] [blame] |
Issue #8914: fix various warnings from the Clang static analyzer v254.
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index d20f196..cffa5de 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c
@@ -297,8 +297,8 @@ *p++ = c; if (c == '\n') break; } - if ( c == EOF && skipnextlf ) - newlinetypes |= NEWLINE_CR; + /* if ( c == EOF && skipnextlf ) + newlinetypes |= NEWLINE_CR; */ FUNLOCKFILE(stream); *p = '\0'; if ( skipnextlf ) {