blob: ff00d8b749ad7d5ae0312c701d0c22e72dd50fe7 [file] [log] [blame]
Patrick Williamsde0582f2022-04-08 10:23:27 -05001From 15fbe266af3dcc5b7660397204b06d04364a953a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Apr 2022 21:37:42 -0700
4Subject: [PATCH] mmal: Do not use -Werror
5
6Clang warns about unused-but-set variables
7interface/mmal/vc/mmal_vc_api.c:395:18: error: variable 'status' set but not used [-We
8rror,-Wunused-but-set-variable]
9| MMAL_STATUS_T status;
10| ^
11
12Upstream-Status: Pending
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 interface/mmal/CMakeLists.txt | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/interface/mmal/CMakeLists.txt b/interface/mmal/CMakeLists.txt
19index 46f149d..c5c1642 100644
20--- a/interface/mmal/CMakeLists.txt
21+++ b/interface/mmal/CMakeLists.txt
22@@ -3,7 +3,7 @@ if (NOT DEFINED LIBRARY_TYPE)
23 set(LIBRARY_TYPE SHARED)
24 endif (NOT DEFINED LIBRARY_TYPE)
25
26-add_definitions(-Wall -Werror)
27+add_definitions(-Wall)
28
29 add_library(mmal SHARED util/mmal_util.c)
30
31--
322.35.1
33