[poppler] utils/pdfsig.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Jan 14 19:18:32 UTC 2018


 utils/pdfsig.cc |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 4b237953b187f38c90b9a747f587cbc277db6d45
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jan 14 20:17:56 2018 +0100

    pdfsig: Remove "int i = 0;" variable that was shadowing pevious i
    
    And making us access the wrong sig_widgets element

diff --git a/utils/pdfsig.cc b/utils/pdfsig.cc
index 1fe50b84..2f08c82a 100644
--- a/utils/pdfsig.cc
+++ b/utils/pdfsig.cc
@@ -208,7 +208,6 @@ int main(int argc, char *argv[])
     std::vector<Goffset> ranges = sig_widgets.at(i)->getSignedRangeBounds();
     if (ranges.size() == 4)
     {
-      int i = 0;
       printf("  - Signed Ranges: [%lld - %lld], [%lld - %lld]\n",
              ranges[0], ranges[1], ranges[2], ranges[3]);
       Goffset checked_file_size;


More information about the poppler mailing list