Skip to content

Commit

Permalink
Fix MSVC unused variable warning. NFCI.
Browse files Browse the repository at this point in the history
RunRandTest is driven by a fixed seed, not a random_device
  • Loading branch information
RKSimon committed Nov 15, 2023
1 parent cda2b01 commit be252b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ static void RunRandTest(uint64_t Seed, int Size, int MinCount, int MaxCount,
LLVMContext C;
SMDiagnostic Err;

std::random_device dev;
std::mt19937 Rng(Seed);
std::uniform_int_distribution<int> DistCount(MinCount, MaxCount);
std::uniform_int_distribution<unsigned> DistValue(0, MaxValue);
Expand Down

0 comments on commit be252b4

Please sign in to comment.