jtag: jtag_vpi: Add missing 'default' to switch statement 40/5340/2
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 30 Oct 2019 03:14:46 +0000 (22:14 -0500)
committerTomas Vanek <vanekt@fbl.cz>
Thu, 7 Nov 2019 08:21:02 +0000 (08:21 +0000)
commit4f779a88db4c03c3cf280275c383fd3f24f9fea3
tree8c28f3d22756d43ff59b3e5e09db308f36ff625d
parentded67990255cc1e63c77832ffd6e6bef9120873d
jtag: jtag_vpi: Add missing 'default' to switch statement

If a new JTAG command is added, then GCC will complain that
enumeration value not handled in switch. Make this consistent with
other drivers, and add a 'default' case.

Change-Id: I66d6d0db3fcae93ea246f2d4882ffff5dec14693
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://openocd.zylin.com/5340
Tested-by: jenkins
Reviewed-by: Jan Matyas <matyas@codasip.com>
Reviewed-by: Franck Jullien <franck.jullien@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/jtag/drivers/jtag_vpi.c