aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-19 08:32:14 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-19 08:53:31 +0200
commitb2d246cf6c82607f6a43fde0036e4e0e7d26490e (patch)
treea37ced0f4dd963b6887de2dbbfd8fb74d2e266bd /lib/vtls
parentfce99f6db2221340ee2e8e666fb78bf1a88ec674 (diff)
darwinssl: removed commented out code
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/darwinssl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c
index ed587eb37..384f9d958 100644
--- a/lib/vtls/darwinssl.c
+++ b/lib/vtls/darwinssl.c
@@ -781,7 +781,7 @@ CF_INLINE void GetDarwinVersionNumber(int *major, int *minor)
int mib[2];
char *os_version;
size_t os_version_len;
- char *os_version_major, *os_version_minor/*, *os_version_point*/;
+ char *os_version_major, *os_version_minor;
char *tok_buf;
/* Get the Darwin kernel version from the kernel using sysctl(): */
@@ -800,7 +800,6 @@ CF_INLINE void GetDarwinVersionNumber(int *major, int *minor)
/* Parse the version: */
os_version_major = strtok_r(os_version, ".", &tok_buf);
os_version_minor = strtok_r(NULL, ".", &tok_buf);
- /*os_version_point = strtok_r(NULL, ".", &tok_buf);*/
*major = atoi(os_version_major);
*minor = atoi(os_version_minor);
free(os_version);