Commit 849a1a4345c6392b491ad0d326095638e0ef9e73

Lucas Derraugh 2016-05-05T23:34:23

Fix unused variable 'message' warning

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/stransport_stream.c b/src/stransport_stream.c
index 33b6c5c..832f66b 100644
--- a/src/stransport_stream.c
+++ b/src/stransport_stream.c
@@ -33,6 +33,7 @@ int stransport_error(OSStatus ret)
 	CFRelease(message);
 #else
     giterr_set(GITERR_NET, "SecureTransport error: OSStatus %d", (unsigned int)ret);
+    GIT_UNUSED(message);
 #endif
 
 	return -1;