Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2022-05-15 19:27:40 +0300
committerRobert Adam <dev@robert-adam.de>2022-05-17 10:35:18 +0300
commite99ef2cadef20ab7f2e63bdcf536bb9de0a9bfa4 (patch)
treee6bc8c493c530508ef4bfc1f9a8bce68dc5394b6 /overlay_gl/init_mac.c
parentfa6a780f1ac91a8753fc61f9f5758e2d7e89a192 (diff)
REFAC(macos,overlay): Remove unused symbol
The cgl symbol was resolved but never used, which triggered a warning in our macOS CI.
Diffstat (limited to 'overlay_gl/init_mac.c')
-rw-r--r--overlay_gl/init_mac.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/overlay_gl/init_mac.c b/overlay_gl/init_mac.c
index 787653794..fa842e869 100644
--- a/overlay_gl/init_mac.c
+++ b/overlay_gl/init_mac.c
@@ -124,9 +124,8 @@ __attribute__((constructor)) static void initializeLibrary() {
ods("!");
- void *nsgl = NULL, *cgl = NULL;
- nsgl = dlsym(RTLD_DEFAULT, "NSClassFromString");
- cgl = dlsym(RTLD_DEFAULT, "CGLFlushDrawable");
+ void *nsgl = NULL;
+ nsgl = dlsym(RTLD_DEFAULT, "NSClassFromString");
/* Check for GL symbol availability */
if (!(AVAIL_ALL_GLSYM)) {