Fix -Wuninitialized warning with gcc

Initialize mmc_data_byte to 0, as it could be used uninitialized
later on.

MFC with:	r320846
Reported by:	Jenkins (powerpc jobs)
This commit is contained in:
Enji Cooper 2017-07-10 04:28:28 +00:00
parent 15c440e1a6
commit db9d4c3972
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320859

View File

@ -7360,7 +7360,7 @@ mmcsdcmd(struct cam_device *device, int argc, char **argv, char *combinedopt,
int is_highspeed = 0, is_stdspeed = 0;
int is_info_request = 0;
int flags = 0;
uint8_t mmc_data_byte;
uint8_t mmc_data_byte = 0;
/* For IO_RW_EXTENDED command */
uint8_t *mmc_data = NULL;