[flang] [llvm] [llvm][flang] Silence warning, resume -Werror builds of flang (PR #175053)

Peter Klausler via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 8 11:32:15 PST 2026


================
@@ -211,6 +211,8 @@ class SmallVectorTemplateCommon
       this->assertSafeToReferenceAfterResize(From, 0);
       this->assertSafeToReferenceAfterResize(To - 1, 0);
     }
+    (void)From;
----------------
klausler wrote:

The `(void)` technique is used in the following function for the same purpose, so I chose consistency.

https://github.com/llvm/llvm-project/pull/175053


More information about the llvm-commits mailing list