Wireshark-bugs: [Wireshark-bugs] [Bug 1649] New: Coverity CID 244: Dead code in wiretap/k12.c

Date: Tue, 12 Jun 2007 22:41:51 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1649

           Summary: Coverity CID 244: Dead code in wiretap/k12.c
           Product: Wireshark
           Version: 0.99.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: gerald@xxxxxxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Pasted from Coverity:

407         } else {
408             K12_DBG(5,("k12_read: NO RECORD FOUND"));
409     

Event dead_error_begin: Cannot reach dead code beginning here
Also see events: [dead_error_condition][cannot_single]

410             memset(&(wth->pseudo_header),0,sizeof(wth->pseudo_header));
411             wth->pseudo_header.k12.input_name = "unknown port";
412             wth->pseudo_header.k12.stack_file = "unknown stack file";
413         }


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.