summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Derraugh <lucasderraugh@gmail.com>2016-05-05 23:34:23 -0400
committerLucas Derraugh <lucasderraugh@gmail.com>2016-05-05 23:35:48 -0400
commit2527db872a776db2dbf8f2fe5ec67709ebb5a67d (patch)
treec1e206507ab11e82b16fd63338a33a16368a926c
parent2e43a37bcb14d324ab09de4801cb37cf2f31b9bb (diff)
downloadlibgit2-2527db872a776db2dbf8f2fe5ec67709ebb5a67d.tar.gz
Fix unused variable 'message' warning
-rw-r--r--src/stransport_stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stransport_stream.c b/src/stransport_stream.c
index 8d28b3ceb..66be58a21 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;