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

[MODCLUSTER-414] Fix compilation warnings in the native part (mod_advertise+mod_manager) #89

Merged
merged 2 commits into from Sep 4, 2014
Merged

[MODCLUSTER-414] Fix compilation warnings in the native part (mod_advertise+mod_manager) #89

merged 2 commits into from Sep 4, 2014

Conversation

rhusar
Copy link
Member

@rhusar rhusar commented Jun 15, 2014

https://issues.jboss.org/browse/MODCLUSTER-414

  • i think we may want to analyze if these could not have been more severe bugs

mod_advertise part:

  • line 89: unused variable (ma_listen_socket)
  • line 178: string literals need to be compared using strcmp()
  • line 657: wrong format for port %l but port is defined as int
  • line 734: wrong format with precision loss, type long int but printed as %d

mod_manager part:

  • fix several problems when uninitialized value was returned

…vertise part:

* line 89: unused variable (ma_listen_socket)
* line 178: string literals need to be compared using strcmp()
* line 657: wrong format for port %l but port is defined as int
* line 734: wrong format with precision loss, type long int but printed as %d
…nager part:

* fix several problems when uninitialized value was returned
@modcluster-pull-request

Triggering build using a merge of 2d9d960 on branch master:
Private: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/mod_cluster-1.3.x-pull-player-executor/

@modcluster-pull-request

@rhusar rhusar changed the title Modcluster 414 compilation warnings [MODCLUSTER-414] Fix compilation warnings in the native part (mod_advertise+mod_manager) Jun 17, 2014
@rhusar
Copy link
Member Author

rhusar commented Aug 18, 2014

@jfclere Ping, this could use your review and merge :-)

jfclere added a commit that referenced this pull request Sep 4, 2014
[MODCLUSTER-414] Fix compilation warnings in the native part (mod_advertise+mod_manager)
@jfclere jfclere merged commit a74f17d into modcluster:master Sep 4, 2014
s->storage->ap_slotmem_free(s->slotmem, context->id, context);
else {
if (context->id) {
rv = s->storage->ap_slotmem_free(s->slotmem, context->id, context);
Copy link
Member Author

Choose a reason for hiding this comment

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

Just checked -- return value of this function call is never used in the code so it could not have caused a problem.

@rhusar rhusar deleted the MODCLUSTER-414_compilation_warnings branch March 2, 2016 11:29
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

3 participants