versaloon: remove bogus assignment

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>
This commit is contained in:
Paul Fertser 2013-07-08 10:07:54 +04:00 committed by Spencer Oliver
parent f65f42e16f
commit 8d49388945
1 changed files with 0 additions and 2 deletions

View 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; struct versaloon_pending_t *pending = (struct versaloon_pending_t *)p;
processed = processed;
if (pending->extra_data != NULL) if (pending->extra_data != NULL)
*((uint8_t *)pending->extra_data) = src[0]; *((uint8_t *)pending->extra_data) = src[0];