summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-11 16:04:20 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 15:38:20 -0700
commit740fcce338a00e7ec8d1c4701229d46b5463b974 (patch)
tree7ff104fdd0159ba2018d2516dfd9a1036f77a086 /core
parent19e8fa4eafc1f67ddd70230f051f5988a38f7d49 (diff)
downloadsubsurface-740fcce338a00e7ec8d1c4701229d46b5463b974.tar.gz
cleanup[6/6]: remove actual preferences
And finnaly, get rid of the definition in the overall struct. And one usage of the preferences was still around. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core')
-rw-r--r--core/pref.h2
-rw-r--r--core/subsurfacestartup.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/core/pref.h b/core/pref.h
index 8b8feb449..86636b878 100644
--- a/core/pref.h
+++ b/core/pref.h
@@ -96,8 +96,6 @@ struct preferences {
short cloud_timeout;
short cloud_verification_status;
bool save_password_local;
- bool save_userid_local;
- const char *userid;
// ********** DiveComputer **********
dive_computer_prefs_t dive_computer;
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index 6e52b5156..42e9aef7b 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -299,7 +299,6 @@ void copy_prefs(struct preferences *src, struct preferences *dest)
dest->default_cylinder = copy_string(src->default_cylinder);
dest->cloud_base_url = copy_string(src->cloud_base_url);
dest->cloud_git_url = copy_string(src->cloud_git_url);
- dest->userid = copy_string(src->userid);
dest->proxy_host = copy_string(src->proxy_host);
dest->proxy_user = copy_string(src->proxy_user);
dest->proxy_pass = copy_string(src->proxy_pass);