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

Stage 4 of clang compiler warning patches. Various code cleanup and f… #26

Merged
merged 1 commit into from
Nov 3, 2015

Conversation

ethoms
Copy link
Contributor

@ethoms ethoms commented Oct 24, 2015

…ixes.

Stage 4:
Various code cleanup and fixes. Mostly made by David Chisnall from patches that date back to Oct 2013.

[mes release]; mes = nil;
[pool release];

return [m autorelease];;
return [a autorelease];;

Choose a reason for hiding this comment

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

why not remove the stray semicolon here?

@ethoms
Copy link
Contributor Author

ethoms commented Oct 26, 2015

Good point, I never noticed it. Clang doesn't complain about it either. If I have the need to patch that file again, I'll try to remember to remove it. I think that was one of David's patches, so I never tried to understand it.

@buzzdeee
Copy link

Tested this, together with the others up to stage8 of the clang fixes on:
OpenBSD -current

  • amd64, clang-3.5, libobjc2-1.8
  • i386, clang-3.5, libobjc2-1.8
  • macppc, gcc-4.2.1, libobjc2-1.8
    No issues so far, besides my comment on the stage8 fix

extrafu added a commit that referenced this pull request Nov 3, 2015
Stage 4 of clang compiler warning patches. Various code cleanup and f…
@extrafu extrafu merged commit 7072283 into Alinto:master Nov 3, 2015
@ethoms ethoms deleted the clang-warnings-stage4 branch November 27, 2015 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants