mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence warnings in git-access.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9d3be5a165
commit
62bdc9e3ec
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ int credential_https_cb(git_cred **out,
|
|||
(void) url;
|
||||
(void) username_from_url;
|
||||
(void) payload;
|
||||
|
||||
(void) allowed_types;
|
||||
const char *username = prefs.cloud_storage_email_encoded;
|
||||
const char *password = prefs.cloud_storage_password ? strdup(prefs.cloud_storage_password) : strdup("");
|
||||
return git_cred_userpass_plaintext_new(out, username, password);
|
||||
|
|
Loading…
Add table
Reference in a new issue