In IortParser.c ,the variable Index is set but not used in
function DumpIortNodeNamedComponent. This will cause build failure
when building ShellPkg with GCC.
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
)\r
{\r
UINT32 Offset;\r
- UINT32 Index;\r
\r
Offset = ParseAcpi (\r
TRUE,\r
\r
// Estimate the Device Name length\r
PrintFieldName (2, L"Device Object Name");\r
- Index = 0;\r
\r
while ((*(Ptr + Offset) != 0) &&\r
(Offset < Length)) {\r