summaryrefslogtreecommitdiffstats
path: root/core/git-access.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-02-17 21:21:16 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-02-17 19:38:52 -0800
commit5c248d91cd5b7e9401e4393b2193ad44c32016bc (patch)
tree6ecf145a0ee951e8c1dd94de075e9d854da32aae /core/git-access.c
parent36b8594ccea5f72fc24041eae6a0dc69a9b5bc51 (diff)
downloadsubsurface-5c248d91cd5b7e9401e4393b2193ad44c32016bc.tar.gz
Coding-style: remove superfluous parentheses
Mostly replace "return (expression);" by "return expression;" and one case of "function((parameter))" by "function(parameter)". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/git-access.c')
-rw-r--r--core/git-access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/git-access.c b/core/git-access.c
index 5619cf2a7..e9f17609b 100644
--- a/core/git-access.c
+++ b/core/git-access.c
@@ -728,7 +728,7 @@ static git_repository *create_and_push_remote(const char *localdir, const char *
/* finally create an empty commit and push it to the remote */
if (do_git_save(repo, branch, remote, false, true))
return NULL;
- return(repo);
+ return repo;
}
static git_repository *create_local_repo(const char *localdir, const char *remote, const char *branch, enum remote_transport rt)