diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-16 17:37:15 -1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-16 21:40:31 -0700 |
commit | eff3fd32618646a3777c4507b8d7fdf4aca2ba8c (patch) | |
tree | 9672e29ffdd54182eea30f3a67ebf1e8e2adfe7c /statistics.h | |
parent | eca7d998e102ee10fc5a765a2b8d4a2176a5e2f5 (diff) | |
download | subsurface-eff3fd32618646a3777c4507b8d7fdf4aca2ba8c.tar.gz |
git save: fix crash with no remote
Commit e21cae2d46db ("Cloud storage: sync the remote after save") broke
regular git saving without any remotes: it would never initialize the
"remote" pointer, and then use that uninitialized remote pointer to see
if it was a cloud storage remote that it should try to sync.
Fix it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.h')
0 files changed, 0 insertions, 0 deletions