Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Unreachable Computation  at pmsg.c:533

Categories: LANG.STRUCT.UC CWE:561
Warning ID: 204.28836
Procedure: pmsg_extend
Trace: view
Modified: Thu Nov 26 11:28:12 2009   show details
 
Priority: None
State: None
Finding: None
Owner: None
  edit properties

Legend [ X ]
Warning Location
Contributes
Parse Error
Other Warning
Two or More Loop Iterations
On Execution Path
Comment
Macro
Preprocessor
Include
Keyword
Preprocessed Away

Source  |  Language: C Hide Legend     
LineSource
  /kat0/fletcher/SATE/2010/pvm3/src/pmsg.c
  Enter pmsg_extend
523 pmsg_extend(mp) 
524         struct pmsg *mp;
525 {
526         struct frag *fp;
527  
528         if (fp = fr_new(pvmfrgsiz)) {   /* Redundant Condition (ID: 203.28835) */
529                 fp->fr_dat += MAXHDR;
530                 LISTPUTBEFORE(mp->m_frag, fp, fr_link, fr_rlink);
531                 return 0;
532         }
533         return PvmNoMem;     /* Unreachable Computation */
534 } 




Change Warning 204.28836 : Unreachable Computation

Priority:
State:
Finding:
Owner:
Note: