SourceLevelDebugPkg DebugUsb3: Fix GCC build failures
authorStar Zeng <star.zeng@intel.com>
Thu, 8 Feb 2018 08:01:06 +0000 (16:01 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 9 Feb 2018 02:50:04 +0000 (10:50 +0800)
commitad6040ec9b5bbc462762331f9738b8e42c0b9c80
tree41400c5465667e832006d2b88ae31ad5d103c74d
parent9efe8d604049b1d2f320ae5c40cd925d6504bceb
SourceLevelDebugPkg DebugUsb3: Fix GCC build failures

Fix GCC build failures below.
variable 'EvtTrb' set but not used [-Werror=unused-but-set-variable]
variable 'Index' set but not used [-Werror=unused-but-set-variable]

The build failure could only be caught with -D SOURCE_DEBUG_USE_USB3
build flag.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c