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

Fixed another batch of compilation warnings. #79

Merged
merged 6 commits into from
Aug 26, 2014

Conversation

mvidner
Copy link
Member

@mvidner mvidner commented Aug 15, 2014

I tried to do only the "obvious" warnings. See commit messages for explanations.

warning: 'log_messages' defined but not used [-Wunused-variable]
warning: 'void do_log_syslog(const char*)' defined but not used [-Wunused-function]
@jreidinger
Copy link
Member

looks good, but I propose to merge it after SLE12 as it do not bring nothing interesting in functionality

@mvidner
Copy link
Member Author

mvidner commented Aug 15, 2014

I understand that you hesitate to merge this into RC2 before I disappear into the woods. But skipping SLE is too much; when I return I will convince you it is safe :)

@mvidner
Copy link
Member Author

mvidner commented Aug 26, 2014

@jreidinger can we resolve this one? It takes only 10 minutes. I am willing to retract objectionable commits but would like to keep the obvious ones.

warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
It was a TODO that went unfixed for 10+ years.
Give way to real comipler warnings.
The method has been used in the YCP parser for the type of the
container[indices]:default construct, so we are pretty sure it was in
fact finished and complete, for al practical purposes.

Give way to real compiler warnings.
@mvidner
Copy link
Member Author

mvidner commented Aug 26, 2014

  • Retracted the size_t cast
  • Re-added dropped comments
  • Updated changelog timestamp

@jreidinger
Copy link
Member

OK, LGTM

mvidner added a commit that referenced this pull request Aug 26, 2014
Fixed another batch of compilation warnings.
@mvidner mvidner merged commit 7d656b8 into yast:master Aug 26, 2014
@mvidner mvidner deleted the gcc-warnings branch August 26, 2014 08:07
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.

None yet

2 participants