Remove a useless variable in CJBig2_SDDProc::DecodeArith().

The calculated value is never used for anything else.

Change-Id: I65c839febc2d84695ae4f3c6a1497f1bc6497eb6
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/92852
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fxcodec/jbig2/JBig2_SddProc.cpp b/core/fxcodec/jbig2/JBig2_SddProc.cpp
index 4d24d19..8911353 100644
--- a/core/fxcodec/jbig2/JBig2_SddProc.cpp
+++ b/core/fxcodec/jbig2/JBig2_SddProc.cpp
@@ -33,7 +33,7 @@
   std::vector<std::unique_ptr<CJBig2_Image>> SDNEWSYMS;
   uint32_t HCHEIGHT, NSYMSDECODED;
   int32_t HCDH;
-  uint32_t SYMWIDTH, TOTWIDTH;
+  uint32_t SYMWIDTH;
   int32_t DW;
   uint32_t I, J, REFAGGNINST;
   std::vector<bool> EXFLAGS;
@@ -79,7 +79,6 @@
       return nullptr;
 
     SYMWIDTH = 0;
-    TOTWIDTH = 0;
     for (;;) {
       if (!IADW->Decode(pArithDecoder, &DW))
         break;
@@ -92,12 +91,10 @@
         return nullptr;
 
       if (HCHEIGHT == 0 || SYMWIDTH == 0) {
-        TOTWIDTH = TOTWIDTH + SYMWIDTH;
         SDNEWSYMS[NSYMSDECODED] = nullptr;
         NSYMSDECODED = NSYMSDECODED + 1;
         continue;
       }
-      TOTWIDTH = TOTWIDTH + SYMWIDTH;
       if (SDREFAGG == 0) {
         auto pGRD = std::make_unique<CJBig2_GRDProc>();
         pGRD->MMR = false;