[Libreoffice-commits] core.git: solenv/bin

Tor Lillqvist tml at iki.fi
Tue Jun 18 03:08:29 PDT 2013


 solenv/bin/concat-deps.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2152a4127de89b58e5dd4513e3130e580e8bffad
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Jun 18 13:07:35 2013 +0300

    WaE: variable may be used uninitialized
    
    Change-Id: Icfdf8dddc4da20785e0881a95f50ee498e8405cd

diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index c60beeb..b305d1a 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -870,7 +870,7 @@ static inline char* generate_phony_line(char* phony_target, char* extension)
 {
 char* src;
 char* dest;
-char* last_dot;
+char* last_dot = NULL;
     //fprintf(stderr, "generate_phony_line called with phony_target %s and extension %s\n", phony_target, extension);
     for(dest = phony_content_buffer+work_dir_len, src = phony_target; *src != 0; ++src, ++dest)
     {
@@ -911,7 +911,7 @@ char* end;
 char* cursor;
 char* cursor_out;
 char* base;
-char* created_line;
+char* created_line = NULL;
 char* src_relative;
 int continuation = 0;
 char last_ns = 0;


More information about the Libreoffice-commits mailing list