chore(sonar): change NOSONAR comment style (#5410)

This commit is contained in:
Dave Lane
2026-07-13 17:31:55 -04:00
committed by GitHub
parent 0d1dfe4c81
commit 24cbf6f833
6 changed files with 10 additions and 11 deletions

View File

@@ -749,7 +749,7 @@ namespace va {
std::unique_ptr<platf::avcodec_encode_device_t> make_avcodec_encode_device(int width, int height, int offset_x, int offset_y, bool vram) {
auto render_device = platf::resolve_render_device();
file_t file = ::open(render_device.c_str(), O_RDWR); // NOSONAR(cpp:S1874) - `_sopen_s` not available
file_t file = ::open(render_device.c_str(), O_RDWR); // NOSONAR(cpp:S1874): `_sopen_s` not available
if (file.el < 0) {
char string[1024];
BOOST_LOG(error) << "Couldn't open "sv << render_device << ": " << strerror_r(errno, string, sizeof(string));