From 73ed08df0bef6050a83eb94cc71cc4568dbaa60f Mon Sep 17 00:00:00 2001 From: Fabrizio Fabbri Date: Tue, 16 May 2017 18:31:55 +0200 Subject: [PATCH] fix coverity issue 1434897 Uninitialized scalar variable https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706960&defectInstanceId=4324855&mergedDefectId=1434897&eventIds=4324837-8 --- src/c/pathname.d | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c/pathname.d b/src/c/pathname.d index a8011a5e9..e27237bb8 100644 --- a/src/c/pathname.d +++ b/src/c/pathname.d @@ -564,6 +564,7 @@ ecl_parse_namestring(cl_object s, cl_index start, cl_index end, cl_index *ep, if (start == end) { host = device = path = name = type = aux = version = @'nil'; logical = 0; + *ep = end; goto make_it; } /* We first try parsing as logical-pathname. In case of