Skip to content
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

F/tidy proto const redund void semi #729

Merged
merged 5 commits into from Oct 16, 2015

Conversation

u2yg
Copy link
Contributor

@u2yg u2yg commented Oct 8, 2015

Small cosmetic improvements uncovered while integrating mongo-c-driver.

Fixed functions declarations which were not full prototypes.
Improved const propagation.
Removed redundant declarations.
Removed ineffective returns from void functions.
Extra semicolon at function definition in afmongodb.c.

Signed-off-by: u2yg <u2yg@users.noreply.github.com>
Signed-off-by: u2yg <u2yg@users.noreply.github.com>
Signed-off-by: u2yg <u2yg@users.noreply.github.com>
Signed-off-by: u2yg <u2yg@users.noreply.github.com>
Signed-off-by: u2yg <u2yg@users.noreply.github.com>
@bazsi
Copy link
Collaborator

bazsi commented Oct 8, 2015

👍

The content is great, thanks for that. This can go in as is, my only nitpick (that doesnt need fixing I just mention this for the future), is that you could omit the "cosmeric changes" from the patch summary and simply use what is enclosed in parents.

@ihrwein
Copy link
Contributor

ihrwein commented Oct 14, 2015

👍

lbudai added a commit that referenced this pull request Oct 16, 2015
@lbudai lbudai merged commit d884ffa into syslog-ng:master Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants