This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new dedd72e coverity 1021730 : fix issue with return before varables are initalized dedd72e is described below commit dedd72ecb7625e0895e6308e53a4c0711833a578 Author: Jason Kenny <dragon...@live.com> AuthorDate: Tue May 9 11:28:54 2017 -0400 coverity 1021730 : fix issue with return before varables are initalized --- lib/ts/I_Layout.h | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/lib/ts/I_Layout.h b/lib/ts/I_Layout.h index 8f960f9..1221c6d 100644 --- a/lib/ts/I_Layout.h +++ b/lib/ts/I_Layout.h @@ -36,21 +36,6 @@ */ struct Layout { - char *prefix; - char *exec_prefix; - char *bindir; - char *sbindir; - char *sysconfdir; - char *datadir; - char *includedir; - char *libdir; - char *libexecdir; - char *localstatedir; - char *runtimedir; - char *logdir; - char *mandir; - char *infodir; - char *cachedir; Layout(const char *prefix = 0); ~Layout(); @@ -105,6 +90,23 @@ struct Layout { */ static Layout *get(); + + char *prefix = nullptr; + char *exec_prefix = nullptr; + char *bindir = nullptr; + char *sbindir = nullptr; + char *sysconfdir = nullptr; + char *datadir = nullptr; + char *includedir = nullptr; + char *libdir = nullptr; + char *libexecdir = nullptr; + char *localstatedir = nullptr; + char *runtimedir = nullptr; + char *logdir = nullptr; + char *mandir = nullptr; + char *infodir = nullptr; + char *cachedir = nullptr; + }; #endif -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].