Fixed #37: Removes unused variable ScriptScanner::next_byte_limit_
This commit is contained in:
@@ -547,7 +547,6 @@ ScriptScanner::ScriptScanner(const char* buffer,
|
|||||||
bool is_plain_text)
|
bool is_plain_text)
|
||||||
: start_byte_(buffer),
|
: start_byte_(buffer),
|
||||||
next_byte_(buffer),
|
next_byte_(buffer),
|
||||||
next_byte_limit_(buffer + buffer_length),
|
|
||||||
byte_length_(buffer_length),
|
byte_length_(buffer_length),
|
||||||
is_plain_text_(is_plain_text),
|
is_plain_text_(is_plain_text),
|
||||||
letters_marks_only_(true),
|
letters_marks_only_(true),
|
||||||
@@ -567,7 +566,6 @@ ScriptScanner::ScriptScanner(const char* buffer,
|
|||||||
bool any_script)
|
bool any_script)
|
||||||
: start_byte_(buffer),
|
: start_byte_(buffer),
|
||||||
next_byte_(buffer),
|
next_byte_(buffer),
|
||||||
next_byte_limit_(buffer + buffer_length),
|
|
||||||
byte_length_(buffer_length),
|
byte_length_(buffer_length),
|
||||||
is_plain_text_(is_plain_text),
|
is_plain_text_(is_plain_text),
|
||||||
letters_marks_only_(!any_text),
|
letters_marks_only_(!any_text),
|
||||||
|
@@ -86,8 +86,7 @@ class ScriptScanner {
|
|||||||
|
|
||||||
const char* start_byte_; // Starting byte of buffer to scan
|
const char* start_byte_; // Starting byte of buffer to scan
|
||||||
const char* next_byte_; // First unscanned byte
|
const char* next_byte_; // First unscanned byte
|
||||||
const char* next_byte_limit_; // Last byte + 1
|
int byte_length_; // Bytes left
|
||||||
int byte_length_; // Bytes left: next_byte_limit_ - next_byte_
|
|
||||||
|
|
||||||
bool is_plain_text_; // true fo text, false for HTML
|
bool is_plain_text_; // true fo text, false for HTML
|
||||||
char* script_buffer_; // Holds text with expanded entities
|
char* script_buffer_; // Holds text with expanded entities
|
||||||
|
Reference in New Issue
Block a user