commit:     733c84b716edf64e700011795266cfa6d57ce311
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 12:02:31 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 12:02:31 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=733c84b7

qmanifest: fix Coverity 206567 Unused value

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 qmanifest.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/qmanifest.c b/qmanifest.c
index bfc5e55..c1477cb 100644
--- a/qmanifest.c
+++ b/qmanifest.c
@@ -365,7 +365,6 @@ parse_layout_conf(const char *path)
                        last_nl++;  /* skip \n */
                        len = last_nl - buf;
                        memmove(buf, last_nl, len);
-                       last_nl = buf;
                } else {
                        /* skip too long line */
                        len = 0;

Reply via email to