system/camera: fix 'is_image' uninitialized

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
Peter Bee 2022-12-14 16:52:30 +08:00 committed by Xiang Xiao
parent 5592e38253
commit 11f0c2af43

View File

@ -266,7 +266,7 @@ static int nxcamera_cmd_output(FAR struct nxcamera_s *pcam, FAR char *parg)
int ret; int ret;
char path[PATH_MAX]; char path[PATH_MAX];
FAR char *ext; FAR char *ext;
bool isimage; bool isimage = false;
/* First try to open the device directly */ /* First try to open the device directly */