Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cleanups #3834

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 21, 2016
Merged

Cleanups #3834

merged 2 commits into from
Jun 21, 2016

Conversation

pks-t
Copy link
Member

@pks-t pks-t commented Jun 21, 2016

Just found a small housekeeping-branch lingering when cleaning up branches in my fork of libgit2. As it surprisingly rebased without any conflicts (yay, git!) I'm just putting it up here.

pks-t added 2 commits June 21, 2016 07:58
Avoid declaring old-style functions without any parameters.
Functions not accepting any parameters should be declared with
`void fn(void)`. See ISO C89 $3.5.4.3.
@@ -16,16 +16,6 @@ void test_network_remote_rename__cleanup(void)
cl_git_sandbox_cleanup();
}

static int dont_call_me_cb(const char *fetch_refspec, void *payload)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL.

@ethomson
Copy link
Member

@ethomson ethomson merged commit 37e9278 into libgit2:master Jun 21, 2016
@pks-t pks-t deleted the pks/cleanups branch June 27, 2016 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants