summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-05-19 02:06:45 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-05-19 02:14:27 -0500
commitdb35e5c8fccf965c7383bebcfca8f7c3ad681d3b (patch)
tree945181016d58b48b2de6d60bf04a87cd39d6b18c /src/generate.cc
parent0ab56f5d85ca20005e60eeafc2a7a2ce169689ee (diff)
downloadfork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.gz
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.bz2
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.zip
Resolve new compiler warnings from Clang
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc4
1 files changed, 1 insertions, 3 deletions
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<unsigned int>(std::time(0)) : seed),