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

Unused local variables should be removed #32

Closed
wants to merge 1 commit into from
Closed

Unused local variables should be removed #32

wants to merge 1 commit into from

Conversation

zeeshanasghar
Copy link
Contributor

This pull request is focused on resolving occurrences of Sonar rule

squid:S1481 Unused local variables should be removed

You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1481

Please let me know if you have any questions.

Zeeshan Asghar

@@ -43,16 +43,6 @@ public static void basicExample001() throws IOException {
// Strings, Buffers and byte-arrays.
final SipMessage msg = SipMessage.frame(rawMessage);

// Once the message has successfully been parsed you
// can access headers etc within the SIP message.
final FromHeader from = msg.getFromHeader();
Copy link
Owner

Choose a reason for hiding this comment

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

These are examples. Please keep

@aboutsip
Copy link
Owner

A few comments that I would like to have addressed before merging. Question: did the unit tests actually pass after these changes?

@jonbo372
Copy link
Collaborator

closing since the comments where never answered.

@jonbo372 jonbo372 closed this Jun 24, 2017
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.

3 participants