Changeset 41252 in webkit for trunk/JavaScriptCore/pcre


Ignore:
Timestamp:
Feb 26, 2009, 9:08:43 AM (16 years ago)
Author:
[email protected]
Message:

2009-02-26 Carol Szabo <[email protected]>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=24099
ARM Compiler Warnings in pcre_exec.cpp

  • pcre/pcre_exec.cpp: (match):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/pcre_exec.cpp

    r40404 r41252  
    448448    bool minimize = false; /* Initialization not really needed, but some compilers think so. */
    449449    unsigned remainingMatchCount = matchLimit;
     450    int othercase; /* Declare here to avoid errors during jumps */
    450451   
    451452    MatchStack stack;
     
    11871188               
    11881189                if (stack.currentFrame->locals.fc <= 0xFFFF) {
    1189                     int othercase = md.ignoreCase ? jsc_pcre_ucp_othercase(stack.currentFrame->locals.fc) : -1;
     1190                    othercase = md.ignoreCase ? jsc_pcre_ucp_othercase(stack.currentFrame->locals.fc) : -1;
    11901191                   
    11911192                    for (int i = 1; i <= min; i++) {
Note: See TracChangeset for help on using the changeset viewer.