Fixing unused variable on byte generation loop.