]> git.sur5r.net Git - openocd/commitdiff
gdbserver: fix duplicate declaration
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Mar 2014 21:51:58 +0000 (21:51 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 4 Mar 2014 22:22:37 +0000 (22:22 +0000)
commit da0d1e37 did not merge correctly, causing the build to fail.

Change-Id: I3f525054bb38b7ee29bf27309bb2e6a5bb8329c7
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2020
Tested-by: jenkins
src/server/gdb_server.c

index 63c5f6bbd2e86914604dba4a78fcdb4f836a131b..e417bf45ca4228d4120a5d05a96e890259943cc4 100644 (file)
@@ -2235,7 +2235,6 @@ static int gdb_target_description_supported(struct target *target, int *supporte
        int reg_list_size = 0;
        char **features = NULL;
        int feature_list_size = 0;
-       char **features = NULL;
 
        retval = target_get_gdb_reg_list(target, &reg_list,
                        &reg_list_size, REG_CLASS_ALL);