Message ID | 20241220150759.709756-2-pobrn@protonmail.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
diff --git a/src/apps/lc-compliance/environment.h b/src/apps/lc-compliance/environment.h index 543e5372f..834c722ef 100644 --- a/src/apps/lc-compliance/environment.h +++ b/src/apps/lc-compliance/environment.h @@ -23,5 +23,5 @@ private: Environment() = default; std::string cameraId_; - libcamera::CameraManager *cm_; + libcamera::CameraManager *cm_ = nullptr; };
Do not leave it unitialized. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> --- src/apps/lc-compliance/environment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)