summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-05-14 00:00:06 +0930
committerDaniel Jones <admin@danieljon.es>2020-05-14 00:00:06 +0930
commitcc7a1330ce10fc30b0176218471899926c4b5714 (patch)
tree9971f3835f219d0e48d52c9317f0c86d77712ae4
parent341b4d2a4fb1d3bcff31ebd1230e762e20a4dbf4 (diff)
downloadwebsitegenerator-cc7a1330ce10fc30b0176218471899926c4b5714.tar.gz
websitegenerator-cc7a1330ce10fc30b0176218471899926c4b5714.zip
set used to -1
-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);