This is an automated email from Gerrit.

Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1877

-- gerrit

commit c68fa6b43f0c9cb55aeb52c6ccd23ea337df5827
Author: Paul Fertser <[email protected]>
Date:   Fri Jan 17 14:10:57 2014 +0400

    server/gdb_server: fix uninitialised variable warning
    
    Caught (breaks build) with clang 3.3.
    
    Change-Id: I5978fe34e82122f62e3d587bcdc45ad12f5e55ca
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 6729df3..0d141f7 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -2199,6 +2199,7 @@ static int gdb_target_description_supported(struct target 
*target, int *supporte
        struct reg **reg_list = NULL;
        int reg_list_size = 0;
        int feature_list_size = 0;
+       char **features = NULL;
 
        retval = target_get_gdb_reg_list(target, &reg_list,
                        &reg_list_size, REG_CLASS_ALL);
@@ -2212,7 +2213,6 @@ static int gdb_target_description_supported(struct target 
*target, int *supporte
                goto error;
        }
 
-       char **features = NULL;
        /* Get a list of available target registers features */
        retval = get_reg_features_list(target, &features, &feature_list_size, 
reg_list, reg_list_size);
        if (retval != ERROR_OK) {

-- 

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to