mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 09:47:35 +08:00
cLib: Minor cleanup
This commit is contained in:
@ -273,8 +273,6 @@ typedef struct
|
||||
int credentials_cb(git_cred **out, const char *url, const char *username_from_url,
|
||||
unsigned int allowed_types, void *payload)
|
||||
{
|
||||
UNUSED(url);
|
||||
|
||||
if (!payload)
|
||||
{
|
||||
gj_log_internal("credentials_cb has no payload\n");
|
||||
@ -287,7 +285,6 @@ int credentials_cb(git_cred **out, const char *url, const char *username_from_ur
|
||||
return -1;
|
||||
}
|
||||
|
||||
gj_log_internal("UsernameProvided: %s\n", username_from_url);
|
||||
gj_log_internal("Url: %s\n", url);
|
||||
|
||||
if (!(allowed_types & GIT_CREDTYPE_SSH_KEY))
|
||||
|
Reference in New Issue
Block a user