[libcamera-devel] [PATCH] libcamera: pixel_format: remove duplicated return documentation

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Oct 27 15:11:13 CEST 2021


The PixelFormat::toString() has two \return statements in its
doxygen documentation.

Remove the redundant one.

Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
---
 src/libcamera/pixel_format.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libcamera/pixel_format.cpp b/src/libcamera/pixel_format.cpp
index 54763fbf8e33..997aeb8a9290 100644
--- a/src/libcamera/pixel_format.cpp
+++ b/src/libcamera/pixel_format.cpp
@@ -132,7 +132,6 @@ std::string PixelFormat::toString() const
 
 /**
  * \brief Create a PixelFormat from a string
- * \return Pixel format
  * \return The PixelFormat represented by the \a name if known, or an
  * invalid pixel format otherwise.
  */
-- 
2.30.2



More information about the libcamera-devel mailing list