aboutsummaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authorFreddie Chopin <freddie_chopin@op.pl>2011-06-03 22:10:03 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-04 09:35:13 +0200
commitf6315d5e5b7b71515ef051711e5f818a42d6b3b3 (patch)
tree197f51e416132298d9c2571163e2be72e735c115 /src/pld
parentae02a0e51708d292b4dff67c12baef1b62b367fa (diff)
Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes
Diffstat (limited to 'src/pld')
-rw-r--r--src/pld/virtex2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c
index f4657bcf..fdaeb61e 100644
--- a/src/pld/virtex2.c
+++ b/src/pld/virtex2.c
@@ -175,7 +175,6 @@ static int virtex2_load(struct pld_device *pld_device, const char *filename)
COMMAND_HANDLER(virtex2_handle_read_stat_command)
{
struct pld_device *device;
- struct virtex2_pld_device *virtex2_info;
uint32_t status;
if (CMD_ARGC < 1)
@@ -193,8 +192,6 @@ COMMAND_HANDLER(virtex2_handle_read_stat_command)
return ERROR_OK;
}
- virtex2_info = device->driver_priv;
-
virtex2_read_stat(device, &status);
command_print(CMD_CTX, "virtex2 status register: 0x%8.8" PRIx32 "", status);