Text  |   XML   |   Visible Warnings:

Pvm : Pvm analysis 1 : Unused Value  at ddpro.c:3221

Categories: LANG.STRUCT.UVAL CWE:563
Warning ID: 2600.2634
Procedure: dm_reset
Trace: View
Modified: Wed Sep 2 12:42:00 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/ddpro.c
  Enter dm_reset
3213 dm_reset(hp, mp) 
3214         struct hostd *hp;
3215         struct pmsg *mp;
3216 {
3217         int tid;
3218         struct waitc *wp;
3219         struct pmsg *mp2;
3220  
3221         hp = hp;     /* Unused Value */
3222  
3223         upkuint(mp, &tid);
3224  
3225         mp2 = mesg_new(0);
3226         mp2->m_dst = mp->m_src;   /* Null Pointer Dereference (ID: 2601.2635) */
3227         mp2->m_tag = DM_RESETACK;
3228         mp2->m_wid = mp->m_wid;
3229         pkint(mp2, tid);
3230  
3231         if (task_find(tid)) {
3232                 wp = wait_new(WT_RESET);
3233                 wp->wa_on = tid;
3234                 wp->wa_tid = mp->m_src;
3235                 wp->wa_dep = mp->m_wid;
3236                 wp->wa_mesg = mp2;
3237  
3238         } else {
3239                 sendmessage(mp2);
3240         }
3241  
3242         return 0;
3243 




Change Warning 2600.2634 : Unused Value

Priority:
State:
Finding:
Owner:
Note: