stlink: remove unused assignment 45/4945/2
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 24 Feb 2019 17:19:44 +0000 (18:19 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 6 Mar 2019 15:36:14 +0000 (15:36 +0000)
commit79a859413038c85f084ec1e91c90d2a85344ea2f
tree07340ed18e20d3d0e35f130e77adacb27fb903d4
parent334c5096eb4f6cb82de3a48fe678f6dff4c7e9d3
stlink: remove unused assignment

Fix a warning identified by clang 7.0.1:
stlink_usb.c:1092:3: warning: Value stored to 'p' is never read
p += sprintf(p, "S%d", swim);
^    ~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: Ic9da57e19ceecb0e3d65d3ea3412a05e1c2c779a
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4945
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/jtag/drivers/stlink_usb.c