Commit 09230d9
committed
common: remove unused attribute
This resolves an obnoxious compiler warning:
[79/768] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/__/ceph_mgr.cc.o
In file included from /run/host/home/sepian/ceph/src/global/global_init.h:23,
from /run/host/home/sepian/ceph/src/ceph_mgr.cc:27:
/run/host/home/sepian/ceph/src/common/ceph_context.h:153:42: warning: ‘maybe_unused’ attribute ignored [-Wattributes]
153 | [[maybe_unused]] std::unique_ptr<char> _ex_handler;
| ^~~~~~~~~~~
Fixes: 39af0bc
Signed-off-by: Patrick Donnelly <[email protected]>1 parent f3253ed commit 09230d9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments