Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: runtime/third_party/jscre/pcre_compile.cpp

Issue 8222017: Fix compilation warnings/errors seen with newer versions of gcc compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/vm/dart.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/third_party/jscre/pcre_compile.cpp
===================================================================
--- runtime/third_party/jscre/pcre_compile.cpp (revision 265)
+++ runtime/third_party/jscre/pcre_compile.cpp (working copy)
@@ -566,7 +566,6 @@
unsigned char* tempcode;
bool groupsetfirstbyte = false;
const UChar* ptr = *ptrptr;
- const UChar* tempptr;
unsigned char* previous = NULL;
unsigned char classbits[32];
@@ -1564,7 +1563,6 @@
for validity in the pre-compiling pass. */
case '\\':
- tempptr = ptr;
c = checkEscape(&ptr, patternEnd, errorcodeptr, cd.numCapturingBrackets, false);
/* Handle metacharacters introduced by \. For ones like \d, the ESC_ values
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/vm/dart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698