summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generate.cc b/src/generate.cc
index 6d1bfb1a..958fc5dd 100644
--- a/src/generate.cc
+++ b/src/generate.cc
@@ -79,7 +79,7 @@ void generate_posts_iterator::generate_string(std::ostream& out, int len,
DEBUG("generate.post.string",
"Generating string of length " << len << ", only alpha " << only_alpha);
- int last;
+ int last = -1;
bool first = true;
for (int i = 0; i < len; i++) {
int next = only_alpha ? 3 : three_gen();