Only declare `bysz' variable under little endian archs.

This commit is contained in:
Kai Wang 2014-01-29 09:58:05 +00:00
parent fe938c0835
commit d8b88105c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261259

View file

@ -935,7 +935,10 @@ static void
die_sou_create(dwarf_t *dw, Dwarf_Die str, Dwarf_Off off, tdesc_t *tdp,
int type, const char *typename)
{
Dwarf_Unsigned sz, bysz, bitsz, bitoff, maxsz=0;
Dwarf_Unsigned sz, bitsz, bitoff, maxsz=0;
#if BYTE_ORDER == _LITTLE_ENDIAN
Dwarf_Unsigned bysz;
#endif
Dwarf_Die mem;
mlist_t *ml, **mlastp;
iidesc_t *ii;