diff --git a/subsurface-core/git-access.c b/subsurface-core/git-access.c index f18762bfc..c902bf60b 100644 --- a/subsurface-core/git-access.c +++ b/subsurface-core/git-access.c @@ -667,7 +667,7 @@ static git_repository *create_local_repo(const char *localdir, const char *remot * to our cloud storage and the branch doesn't exist. * So we need to create the branch and push it to the remote */ cloned_repo = create_and_push_remote(localdir, remote, branch); -#if !defined(DEBUG) +#if !defined(DEBUG) && !defined(SUBSURFACE_MOBILE) } else if (is_subsurface_cloud) { report_error(translate("gettextFromC", "Error connecting to Subsurface cloud storage")); #endif