Commit f5ea42ee59635695e8fb1bb5ea70396853ed50aa

Authored by Jay Berkenbilt
1 parent aeb892f9

remove unused offset variable


git-svn-id: svn+q:///qpdf/trunk@1056 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing 1 changed file with 0 additions and 2 deletions
libqpdf/QPDF_linearization.cc
... ... @@ -94,7 +94,6 @@ QPDF::isLinearized()
94 94  
95 95 static PCRE lindict_re("(?s:(\\d+)\\s+0\\s+obj\\s*<<)");
96 96  
97   - off_t offset = -1;
98 97 int lindict_obj = -1;
99 98 char* p = buf;
100 99 while (lindict_obj == -1)
... ... @@ -102,7 +101,6 @@ QPDF::isLinearized()
102 101 PCRE::Match m(lindict_re.match(p));
103 102 if (m)
104 103 {
105   - offset = m.getOffset(0) + (p - buf);
106 104 lindict_obj = atoi(m.getMatch(1).c_str());
107 105 if (m.getMatch(0).find('\n') != std::string::npos)
108 106 {
... ...