summaryrefslogtreecommitdiff
path: root/pith/osdep/temp_nam.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
committerEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
commitd31cd71e5a3d73e20cfff89968c7b932d451f75c (patch)
tree264309197f0d847683df0ef960f87d5734c5f225 /pith/osdep/temp_nam.c
parent2e57dfe03e4df802d530ae217415d50419ab4e20 (diff)
downloadalpine-d31cd71e5a3d73e20cfff89968c7b932d451f75c.tar.xz
* Clear out some gcc warnings, and code improvement. Work in progress.
Diffstat (limited to 'pith/osdep/temp_nam.c')
-rw-r--r--pith/osdep/temp_nam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/osdep/temp_nam.c b/pith/osdep/temp_nam.c
index 2718f140..21aa0f26 100644
--- a/pith/osdep/temp_nam.c
+++ b/pith/osdep/temp_nam.c
@@ -235,7 +235,7 @@ char *
temp_nam_ext(char *dir, char *prefix, char *ext)
{
struct stat buf;
- size_t l, ll;
+ size_t l = 0, ll;
char *f, *name;
if(ext == NULL)