Wireshark-commits: [Wireshark-commits] rev 41324: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Fri, 02 Mar 2012 20:17:37 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41324

User: morriss
Date: 2012/03/02 12:17 PM

Log:
 Fix a few bugs found by Clang analysis:
 
 packet-ieee17221.c:3123:10: warning: Value stored to 'mr_offset' is never read
 	- Put the offset increment inside the loop
 
 packet-ieee17221.c:2888:10: warning: Value stored to 'mr_subtree' is never read
 	 - Use the newly-created subtree (instead of the parent tree)
 
 packet-ieee17221.c:2692:13: warning: Value stored to 'next_tvb' is never read
 	- Use next_tvb (instead of the main tvb which doesn't start at the
 	  correct offset)

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +6 -6      packet-ieee17221.c    Modified