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.
This commit is contained in:
Daniel Stenberg
2014-10-08 12:25:07 +02:00
parent 987a4a7367
commit b90f6e87cf
3 changed files with 5 additions and 9 deletions

View File

@@ -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 */