[PATCH] D49756: Add maybe-unused attribute to a variable.

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 1 16:47:08 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL338654: Add maybe-unused attribute to a variable. (authored by nickdesaulniers, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D49756

Files:
  llvm/trunk/lib/IR/SafepointIRVerifier.cpp


Index: llvm/trunk/lib/IR/SafepointIRVerifier.cpp
===================================================================
--- llvm/trunk/lib/IR/SafepointIRVerifier.cpp
+++ llvm/trunk/lib/IR/SafepointIRVerifier.cpp
@@ -92,6 +92,7 @@
         Listed = true;
       }
     }
+    (void)Listed;
     assert(Listed && "basic block is not found among incoming blocks");
     return false;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49756.158664.patch
Type: text/x-patch
Size: 383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180801/5f214385/attachment.bin>


More information about the llvm-commits mailing list