Wireshark-commits: [Wireshark-commits] rev 24284: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Thu, 07 Feb 2008 15:05:55 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24284

User: stig
Date: 2008/02/07 03:05 PM

Log:
 Rewrote some "if(tree)" code inside a switch-case to avoid unused code 
 (which did not work as expected).
 
 switch(type) {
   case 1:
     ...
     break;
   if(tree) {
     case 2:
       ...
       break;
   }
 }

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +624 -565  packet-cdp.c    Modified