From: Josef 'Jeff' Sipek Date: Fri, 9 Jun 2017 12:30:02 +0000 (+0300) Subject: lib: correct comment in path_normalize X-Git-Tag: 2.3.0.rc1~1446 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec34b3861508e337fae4cfaff50a61300558020;p=thirdparty%2Fdovecot%2Fcore.git lib: correct comment in path_normalize Don't blame static analyzers for doing their job. --- diff --git a/src/lib/path-util.c b/src/lib/path-util.c index d23d12790b..3bcb35fbc1 100644 --- a/src/lib/path-util.c +++ b/src/lib/path-util.c @@ -161,7 +161,7 @@ static int path_normalize(const char *path, bool resolve_links, return -1; } if ((size_t)ret < lsize) { - /* make static analyzers happy */ + /* POSIX doesn't guarantee the presence of a NIL */ npath_link[ret] = '\0'; break; }