summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-06-16 08:27:50 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-06-16 08:58:40 +0200
commit818120d4092be0d0a7cae50140dc339581cae7fc (patch)
treef1d03abda7d7845973c7ef0d81c2c346dfd71106 /src/server
parent5104d56e5c37defaf2f6c5c8607bac45b8b49b32 (diff)
downloadopenocd_libswd-818120d4092be0d0a7cae50140dc339581cae7fc.tar.gz
openocd_libswd-818120d4092be0d0a7cae50140dc339581cae7fc.tar.bz2
openocd_libswd-818120d4092be0d0a7cae50140dc339581cae7fc.tar.xz
openocd_libswd-818120d4092be0d0a7cae50140dc339581cae7fc.zip
gdb: -Wshadow warning fixes
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 8ed9e74f..a1ff7c8e 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -2245,7 +2245,6 @@ static int gdb_input_inner(struct connection *connection)
case 'c':
case 's':
{
- struct gdb_connection *gdb_con = connection->priv;
log_add_callback(gdb_log_callback, connection);
if (gdb_con->mem_write_error)