gdbserver: fix duplicate declaration
[fw/openocd] / 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);