From db35e5c8fccf965c7383bebcfca8f7c3ad681d3b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 19 May 2013 02:06:45 -0500 Subject: Resolve new compiler warnings from Clang --- src/generate.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/generate.cc') diff --git a/src/generate.cc b/src/generate.cc index 2b471c87..5bf424bb 100644 --- a/src/generate.cc +++ b/src/generate.cc @@ -39,10 +39,8 @@ namespace ledger { generate_posts_iterator::generate_posts_iterator (session_t& _session, unsigned int _seed, - std::size_t _quantity, - bool _allow_invalid) + std::size_t _quantity) : session(_session), seed(_seed), quantity(_quantity), - allow_invalid(_allow_invalid), rnd_gen(seed == 0 ? static_cast(std::time(0)) : seed), -- cgit v1.2.3