From bf23bc1e3e96adcff737fdfbe284570112768f5d Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 19 May 2018 20:56:27 +0200 Subject: [PATCH] Make Coverity Scan happy --- src/algorithms/libs/rtklib/rtklib_stream.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/algorithms/libs/rtklib/rtklib_stream.cc b/src/algorithms/libs/rtklib/rtklib_stream.cc index feba27b10..132c68bd1 100644 --- a/src/algorithms/libs/rtklib/rtklib_stream.cc +++ b/src/algorithms/libs/rtklib/rtklib_stream.cc @@ -1458,6 +1458,7 @@ void decodeftppath(const char *path, char *addr, char *file, char *user, char *passwd, int *topts) { char buff[MAXSTRPATH], *p, *q; + q[0] = '\0'; tracet(4, "decodeftpath: path=%s\n", path);