This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push: new 11f0c2af4 system/camera: fix 'is_image' uninitialized 11f0c2af4 is described below commit 11f0c2af435a38a743a64e3f1d097147d75eabf8 Author: Peter Bee <bijun...@xiaomi.com> AuthorDate: Wed Dec 14 16:52:30 2022 +0800 system/camera: fix 'is_image' uninitialized Signed-off-by: Peter Bee <bijun...@xiaomi.com> --- system/nxcamera/nxcamera_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/nxcamera/nxcamera_main.c b/system/nxcamera/nxcamera_main.c index 5e3d43708..71fcfdd1b 100644 --- a/system/nxcamera/nxcamera_main.c +++ b/system/nxcamera/nxcamera_main.c @@ -266,7 +266,7 @@ static int nxcamera_cmd_output(FAR struct nxcamera_s *pcam, FAR char *parg) int ret; char path[PATH_MAX]; FAR char *ext; - bool isimage; + bool isimage = false; /* First try to open the device directly */