projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6389cf
)
Warning: avoid warning that weekday may be used uninitialized
author
Friedrich Beckmann
<friedrich.beckmann@gmx.de>
Tue, 25 Aug 2020 07:50:12 +0000
(09:50 +0200)
committer
Friedrich Beckmann
<friedrich.beckmann@gmx.de>
Tue, 25 Aug 2020 07:50:12 +0000
(09:50 +0200)
src/data/data-in.c
patch
|
blob
|
history
diff --git
a/src/data/data-in.c
b/src/data/data-in.c
index 33eeb111384971179087e368c3bff10005ce8b54..caf196ed4e2f307b1cb39cfaaa857881585abe52 100644
(file)
--- a/
src/data/data-in.c
+++ b/
src/data/data-in.c
@@
-1084,7
+1084,7
@@
parse_weekday (struct data_in *i, long *weekday)
static char *
parse_WKDAY (struct data_in *i)
{
- long weekday;
+ long weekday
= 0
;
char *error;
if (trim_spaces_and_check_missing (i))