]> git.sur5r.net Git - openocd/commitdiff
versaloon: remove bogus assignment
authorPaul Fertser <fercerpav@gmail.com>
Mon, 8 Jul 2013 06:07:54 +0000 (10:07 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 15 Jul 2013 09:54:10 +0000 (09:54 +0000)
This fixes the build with Clang 3.3.

Change-Id: I729b4791c16178cdd4a87f7e1c04019da2c84b26
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1488
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/versaloon/usbtoxxx/usbtoswd.c

index 196b507a9eb3274576af44791d9e9ec75da30f7f..b8d27af9b4320b6d7574e591d0ee82d01e7258c8 100644 (file)
@@ -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];