aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-07 16:18:05 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 16:32:41 -0800
commit62bdc9e3ecffedb0c82f347e054dbf1a1a36fe9d (patch)
tree9c19deba9c1839cc5188145bdbfc4d7658db581b /subsurface-core
parent9d3be5a16590f3418d289e916e0edf3e26a33ca1 (diff)
downloadsubsurface-62bdc9e3ecffedb0c82f347e054dbf1a1a36fe9d.tar.gz
Silence warnings in git-access.c
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/git-access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-core/git-access.c b/subsurface-core/git-access.c
index cdfac6fca..e986607ab 100644
--- a/subsurface-core/git-access.c
+++ b/subsurface-core/git-access.c
@@ -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);