From: Spencer Oliver Date: Tue, 4 Mar 2014 21:51:58 +0000 (+0000) Subject: gdbserver: fix duplicate declaration X-Git-Tag: v0.8.0-rc1~66 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=35fdbdcecd4fb829e6f31bfd95b874979e0abd6f;p=openocd gdbserver: fix duplicate declaration commit da0d1e37 did not merge correctly, causing the build to fail. Change-Id: I3f525054bb38b7ee29bf27309bb2e6a5bb8329c7 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/2020 Tested-by: jenkins --- diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 63c5f6bb..e417bf45 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -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, ®_list, ®_list_size, REG_CLASS_ALL);