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 */