refactor: resolve Sonar cpp:S5008 findings (#5909)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-10-13 10:09:32 -04:00
1 parent e2a56b3d17
commit 1925909fbc
41 files changed
+722 -149

No files matched your search

+1 -1
View File
@@ -307,7 +307,7 @@ namespace gbm {
* @brief Load GBM symbols required for EGL device creation.
*/
int init() {
static void *handle {nullptr};
static dyn::library_t *handle {nullptr};
static bool funcs_loaded = false;
if (funcs_loaded) {