mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
To fix build warning about a variable being unused in LibCamera::stop():
[1/2] Compiling C++ object spa/plugins/libcamera/libspa-libcamera.so.p/libcamera_wrapper.cpp.o
../spa/plugins/libcamera/libcamera_wrapper.cpp: In member function ‘void LibCamera::stop()’:
../spa/plugins/libcamera/libcamera_wrapper.cpp:531:58: warning: unused variable ‘buffer’ [-Wunused-variable]
531 | for (const std::unique_ptr<FrameBuffer> &buffer : this->allocator_->buffers(stream)) {
| ^~~~~~
|
||
|---|---|---|
| .. | ||
| libcamera-client.c | ||
| libcamera-device.c | ||
| libcamera-source.c | ||
| libcamera-utils.c | ||
| libcamera.c | ||
| libcamera.h | ||
| libcamera_wrapper.cpp | ||
| libcamera_wrapper.h | ||
| meson.build | ||