Eliminate the gp difference of StrNCpy() against pg version.
Previously we added the code due to Coverity report,
however, we conclude that we should better align with upstream
after some further discussion. See below.
In the long run, we hope StrNCpy() is gone, by the way.
@@ -912,12 +912,6 @@ typedef NameData *Name;
strncpy(_dst, (src), _len); \
_dst[_len-1] = '\0'; \
} \
- else \
- /* upstream does not have the branch code. Without this, coverity \
- * warns potential len as 0 (e.g. potential overflow though with \
- * low probability, etc) in some code. \
- */ \
- _dst[0] = '\0'; \
} while (0)
