commit | afb2883efaa7935082f3e1251096c0f827a5ab68 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Tue Dec 01 12:16:28 2020 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Dec 02 12:20:04 2020 +0100 |
tree | a07cec9c4c6ca2c9f58aaa7384cf2e9a716c6a96 | |
parent | c8bd0605a2a4a1d1b0f0f2db6296d7804c365dfe [diff] [blame] |
compat BUGFIX uninitialized variable to return
diff --git a/compat/compat.c b/compat/compat.c index d36f359..c455545 100644 --- a/compat/compat.c +++ b/compat/compat.c
@@ -29,7 +29,7 @@ vdprintf(int fd, const char *format, va_list ap) { FILE *stream; - int count; + int count = 0; stream = fdopen(dup(fd), "a+"); if (stream) {