diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-09-11 15:29:26 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 15:38:20 -0700 |
commit | cc72a606bb9a64a0d251e06c19cf8b8dd7b131ed (patch) | |
tree | 584749a9b9d15e9d1d5088d8f222ebbcbb3beefe /core/save-git.c | |
parent | 3c8506e1b8d5febc396c8df6bd806ffa36f8fcdc (diff) | |
download | subsurface-cc72a606bb9a64a0d251e06c19cf8b8dd7b131ed.tar.gz |
cleanup[3/6]: do not save the userid any more
Do not save the to be deleted prefences any more.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'core/save-git.c')
-rw-r--r-- | core/save-git.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/save-git.c b/core/save-git.c index df5abf9e1..7db47dc94 100644 --- a/core/save-git.c +++ b/core/save-git.c @@ -837,13 +837,6 @@ static void save_units(void *_b) prefs.units.vertical_speed_time == SECONDS ? "SECONDS" : "MINUTES"); } -static void save_userid(void *_b) -{ - struct membuffer *b = _b; - if (prefs.save_userid_local) - put_format(b, "userid %30s\n", prefs.userid); -} - static void save_one_device(void *_b, const char *model, uint32_t deviceid, const char *nickname, const char *serial, const char *firmware) { @@ -870,7 +863,6 @@ static void save_settings(git_repository *repo, struct dir *tree) struct membuffer b = { 0 }; put_format(&b, "version %d\n", DATAFORMAT_VERSION); - save_userid(&b); call_for_each_dc(&b, save_one_device, false); cond_put_format(autogroup, &b, "autogroup\n"); save_units(&b); |