billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=a848b0262f31fbe04ed1ae45dd043169258d2fdc

commit a848b0262f31fbe04ed1ae45dd043169258d2fdc
Author: Boris Faure <[email protected]>
Date:   Fri Apr 17 00:01:32 2020 +0200

    pleasing cppcheck?
---
 src/bin/termiointernals.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/termiointernals.c b/src/bin/termiointernals.c
index d12f978..c59cf09 100644
--- a/src/bin/termiointernals.c
+++ b/src/bin/termiointernals.c
@@ -250,6 +250,7 @@ _codepoint_buf_append(struct Codepoints_Buf *buf,
              return -1;
           }
         buf->codepoints = codepoints;
+        codepoints = NULL;
      }
    buf->codepoints[buf->len++] = u;
    return 0;

-- 


Reply via email to