Kaydet (Commit) 41e8fe17 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

WaE: remove variable scope

üst a3bf3451
...@@ -862,11 +862,12 @@ void fillAttnum2attnameMap( ...@@ -862,11 +862,12 @@ void fillAttnum2attnameMap(
::rtl::OString extractSingleTableFromSelect( const OStringVector &vec ) ::rtl::OString extractSingleTableFromSelect( const OStringVector &vec )
{ {
rtl::OString ret; rtl::OString ret;
size_t token = 0;
if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength(
vec[0].pData->buffer, vec[0].pData->length, "select" , 6 , 6 ) ) vec[0].pData->buffer, vec[0].pData->length, "select" , 6 , 6 ) )
{ {
size_t token = 0;
for( token = 1; token < vec.size() ; token ++ ) for( token = 1; token < vec.size() ; token ++ )
{ {
if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment