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>
This commit is contained in:
Jan Mulder 2018-09-11 16:04:20 +02:00 committed by Dirk Hohndel
parent 19e8fa4eaf
commit 740fcce338
2 changed files with 0 additions and 3 deletions

View file

@ -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;

View file

@ -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);