diff options
author | drh <drh@noemail.net> | 2013-01-04 19:22:33 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-01-04 19:22:33 +0000 |
commit | e454f3d6f80d039532506550499c358d0b4f561a (patch) | |
tree | 8714f6ae5b0a23e88133318ce8348d175805f59d /src/test_regexp.c | |
parent | 6578dd67fafe6be4bcbcb83b56ebabfae2545824 (diff) | |
download | sqlite-e454f3d6f80d039532506550499c358d0b4f561a.tar.gz sqlite-e454f3d6f80d039532506550499c358d0b4f561a.zip |
Fix an out-of-order local variable declaration in test_regexp.c.
FossilOrigin-Name: 8285b15a058811a9a8b452837f52e6a065868115
Diffstat (limited to 'src/test_regexp.c')
-rw-r--r-- | src/test_regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_regexp.c b/src/test_regexp.c index 2fede8c4e..da86b69aa 100644 --- a/src/test_regexp.c +++ b/src/test_regexp.c @@ -385,8 +385,8 @@ static unsigned re_esc_char(ReCompiled *p){ if( p->sIn.i>=p->sIn.mx ) return 0; c = p->sIn.z[p->sIn.i]; if( c=='u' && p->sIn.i+5<p->sIn.mx ){ - v = 0; const unsigned char *zIn = p->sIn.z + p->sIn.i; + v = 0; if( re_hex(zIn[1],&v) && re_hex(zIn[2],&v) && re_hex(zIn[3],&v) |