From b90f6e87cf2acd1f4e1516a220ad1e23f826f788 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 8 Oct 2014 12:25:07 +0200 Subject: krb5_encode: remove unused argument Coverity CID 1241957. Removed the unused argument. As this struct and pointer now are used only for krb5, there's no need to keep unused function arguments around. --- lib/security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/security.c') diff --git a/lib/security.c b/lib/security.c index ca17c5641..25cfa2170 100644 --- a/lib/security.c +++ b/lib/security.c @@ -295,7 +295,7 @@ static void do_sec_send(struct connectdata *conn, curl_socket_t fd, prot_level = conn->command_prot; } bytes = conn->mech->encode(conn->app_data, from, length, prot_level, - (void**)&buffer, conn); + (void**)&buffer); if(!buffer || bytes <= 0) return; /* error */ -- cgit v1.2.3