system/camera: fix 'is_image' uninitialized
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
parent
5592e38253
commit
11f0c2af43
@ -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 */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user