Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Unreachable Data Flow  at pmsg.c:1297

Categories: LANG.STRUCT.UC CWE:561
Warning ID: 2626.2666
Procedure: enc_xdr_step
Trace: View
Modified: Wed Sep 2 12:42:24 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
  /u1/paul/SATE/2010/c/pvm/pvm3/src/pmsg.c
  Enter enc_xdr_step
1290 enc_xdr_step(mp) 
1291         struct pmsg *mp;
1292 {
1293         struct frag *fp;
1294         int cc;
1295  
1296         if (cc = pmsg_extend(mp))   /* Redundant Condition (ID: 2625.2665) */
1297                 return cc;     /* Unreachable Data Flow */
1298         fp = mp->m_frag->fr_rlink;
1299         xdrmem_create(&mp->m_xdr,
1300                         fp->fr_dat,
1301                         (unsigned)(fp->fr_max - (fp->fr_dat - fp->fr_buf)),   /* Cast Alters Value (ID: 2627.2667) */
1302                         XDR_ENCODE);
1303         return 0;
1304 




Change Warning 2626.2666 : Unreachable Data Flow

Priority:
State:
Finding:
Owner:
Note: