Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Unused Value  at ddpro.c:3221

Categories: LANG.STRUCT.UVAL CWE:563
Warning ID: 184.28809
Procedure: dm_reset
Trace: view
Modified: Thu Nov 26 11:28:05 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/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: 185.28810) */
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 184.28809 : Unused Value

Priority:
State:
Finding:
Owner:
Note: