From 8d4938894522746b4bc6cfa09bbb1abc597251a3 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Mon, 8 Jul 2013 10:07:54 +0400 Subject: [PATCH] versaloon: remove bogus assignment This fixes the build with Clang 3.3. Change-Id: I729b4791c16178cdd4a87f7e1c04019da2c84b26 Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/1488 Reviewed-by: Laszlo Papp Tested-by: jenkins Reviewed-by: Spencer Oliver --- src/jtag/drivers/versaloon/usbtoxxx/usbtoswd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/jtag/drivers/versaloon/usbtoxxx/usbtoswd.c b/src/jtag/drivers/versaloon/usbtoxxx/usbtoswd.c index 196b507a9..b8d27af9b 100644 --- a/src/jtag/drivers/versaloon/usbtoxxx/usbtoswd.c +++ b/src/jtag/drivers/versaloon/usbtoxxx/usbtoswd.c @@ -34,8 +34,6 @@ RESULT usbtoswd_callback(void *p, uint8_t *src, uint8_t *processed) { struct versaloon_pending_t *pending = (struct versaloon_pending_t *)p; - processed = processed; - if (pending->extra_data != NULL) *((uint8_t *)pending->extra_data) = src[0];