SDL_net: Removed unused variable

From 0cdc1293b875b3c753d99e56f8b4659c616bbc94 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 5 Sep 2022 12:37:09 -0700
Subject: [PATCH] Removed unused variable

---
 cmake/PrivateSdlFunctions.cmake | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmake/PrivateSdlFunctions.cmake b/cmake/PrivateSdlFunctions.cmake
index b22af5c..bf6ff0a 100644
--- a/cmake/PrivateSdlFunctions.cmake
+++ b/cmake/PrivateSdlFunctions.cmake
@@ -39,7 +39,6 @@ macro(sdl_calculate_derived_version_variables)
     # which are normally 0-based.
     math(EXPR DYLIB_CURRENT_VERSION_MAJOR "${LT_MAJOR} + ${LT_AGE} + 1")
     math(EXPR DYLIB_CURRENT_VERSION_MINOR "${LT_REVISION}")
-    math(EXPR DYLIB_COMPAT_VERSION_MAJOR "${LT_MAJOR} + 1")
     set(DYLIB_CURRENT_VERSION "${DYLIB_CURRENT_VERSION_MAJOR}.${DYLIB_CURRENT_VERSION_MINOR}.0")
     set(DYLIB_COMPATIBILITY_VERSION "${DYLIB_CURRENT_VERSION_MAJOR}.0.0")
 endmacro()