diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-05-12 15:13:42 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-01 18:09:18 +0000 |
commit | 10146d79ea272aacb32fe36f57e9969d82dc5132 (patch) | |
tree | 5a489bb4725eb1165d777729a60410dafdbd84fc /src | |
parent | c29b6edbf2dbb01b58f0953e76e6e2d894aba16f (diff) |
DocumentationUseOnly: Disable compiler warning
Explicitly disable the unused-parameter warning in this pipeline handler.
Parameters are left unused while they are introduced incrementally, so for
documentation purposes only we disable this warning so that we can compile
each commit independently without breaking the flow of the development
additions.
This is not recommended practice within libcamera, please listen to your
compiler warnings.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/pipeline/vivid/vivid.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libcamera/pipeline/vivid/vivid.cpp b/src/libcamera/pipeline/vivid/vivid.cpp index 373df1d8..07598d10 100644 --- a/src/libcamera/pipeline/vivid/vivid.cpp +++ b/src/libcamera/pipeline/vivid/vivid.cpp @@ -9,6 +9,19 @@ #include "libcamera/internal/pipeline_handler.h" +/* + * Explicitly disable the unused-parameter warning in this pipeline handler. + * + * Parameters are left unused while they are introduced incrementally, so for + * documentation purposes only we disable this warning so that we can compile + * each commit independently without breaking the flow of the development + * additions. + * + * This is not recommended practice within libcamera, please listen to your + * compiler warnings. + */ +#pragma GCC diagnostic ignored "-Wunused-parameter" + namespace libcamera { LOG_DEFINE_CATEGORY(VIVID) |