mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 09:37:08 +00:00
remove unused offset variable
git-svn-id: svn+q:///qpdf/trunk@1056 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
parent
aeb892f99b
commit
f5ea42ee59
@ -94,7 +94,6 @@ QPDF::isLinearized()
|
||||
|
||||
static PCRE lindict_re("(?s:(\\d+)\\s+0\\s+obj\\s*<<)");
|
||||
|
||||
off_t offset = -1;
|
||||
int lindict_obj = -1;
|
||||
char* p = buf;
|
||||
while (lindict_obj == -1)
|
||||
@ -102,7 +101,6 @@ QPDF::isLinearized()
|
||||
PCRE::Match m(lindict_re.match(p));
|
||||
if (m)
|
||||
{
|
||||
offset = m.getOffset(0) + (p - buf);
|
||||
lindict_obj = atoi(m.getMatch(1).c_str());
|
||||
if (m.getMatch(0).find('\n') != std::string::npos)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user