Commit 225af552 authored by Igor Sugak's avatar Igor Sugak Committed by facebook-github-bot-1

folly: fix clang build with -Wunused-const-variable

Summary: Fix a few unused const variables exposed by clang's `-Wunused-const-variable`.

Reviewed By: yfeldblum

Differential Revision: D2878944

fb-gh-sync-id: f5500fda4782eac2964761c0398d016d57716269
parent 2a8d81ac
......@@ -70,8 +70,6 @@ TEST_F(BitVectorCodingTest, SkipForwardPointers) {
namespace bm {
constexpr size_t k1M = 1000000;
typedef BitVectorEncoder<uint32_t, uint32_t, 128, 128> Encoder;
typedef BitVectorReader<Encoder> Reader;
......
......@@ -84,8 +84,6 @@ TEST_F(EliasFanoCodingTest, Select64) {
namespace bm {
constexpr size_t k1M = 1000000;
typedef EliasFanoEncoderV2<uint32_t, uint32_t, 128, 128> Encoder;
typedef EliasFanoReader<Encoder> Reader;
......
......@@ -55,8 +55,6 @@ class FunctionLoopCallback : public EventBase::LoopCallback {
namespace folly {
const int kNoFD = -1;
/*
* EventBase::FunctionRunner
*/
......
......@@ -39,8 +39,6 @@ using namespace folly;
static const int seed = folly::randomNumberSeed();
typedef boost::mt19937 RandomT;
static RandomT rng(seed);
static const size_t maxString = 100;
static const bool avoidAliasing = true;
template <class Integral1, class Integral2>
Integral2 random(Integral1 low, Integral2 up) {
......
......@@ -37,8 +37,6 @@ using namespace folly;
auto static const seed = randomNumberSeed();
typedef boost::mt19937 RandomT;
static RandomT rng(seed);
static const size_t maxString = 100;
static const bool avoidAliasing = true;
template <class Integral1, class Integral2>
Integral2 random(Integral1 low, Integral2 up) {
......
......@@ -37,8 +37,6 @@ using namespace folly;
auto static const seed = randomNumberSeed();
typedef boost::mt19937 RandomT;
static RandomT rng(seed);
static const size_t maxString = 100;
static const bool avoidAliasing = true;
template <class Integral1, class Integral2>
Integral2 random(Integral1 low, Integral2 up) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment