summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages.c b/pages.c
index e1b3de7..9e2a9c0 100644
--- a/pages.c
+++ b/pages.c
@@ -619,7 +619,7 @@ writeposts(const int *posts, size_t totalposts, const char *outfile, int current
{
char num[4] = {0}; /* will never have more than 999 posts */
int girl_variant = 0;
- int used[3];
+ int used[3] = {-1};
snprintf(num, 4, "%d", post);
num[3] = '\0';
fprintf(tmp, "\n<a href='direct/%d.html'>", post);