diff options
author | Daniel Jones <admin@danieljon.es> | 2020-05-14 00:00:06 +0930 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-05-14 00:00:06 +0930 |
commit | cc7a1330ce10fc30b0176218471899926c4b5714 (patch) | |
tree | 9971f3835f219d0e48d52c9317f0c86d77712ae4 | |
parent | 341b4d2a4fb1d3bcff31ebd1230e762e20a4dbf4 (diff) | |
download | websitegenerator-cc7a1330ce10fc30b0176218471899926c4b5714.tar.gz websitegenerator-cc7a1330ce10fc30b0176218471899926c4b5714.zip |
set used to -1
-rw-r--r-- | pages.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |