Merge "sysupgrade : fix UNINIT.STACK.MIGHT KW error"

This commit is contained in:
Linux Build Service Account 2024-01-29 21:09:33 -08:00 committed by Gerrit - the friendly Code Review server
commit 1e42f2b6b8

View file

@ -728,7 +728,7 @@ int find_mtd_part_size(char *mtdname)
int flag = 0;
char mtd_part[256];
FILE *fp = fopen("/proc/mtd", "r");
mtd_info_t mtd_dev_info;
mtd_info_t mtd_dev_info = {0};
if (fp == NULL) {
printf("Error finding mtd part\n");