Text  |   XML   |   Visible Warnings:

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

Categories: LANG.STRUCT.UVAL CWE:563
Warning ID: 160.28782
Procedure: dm_pstat
Trace: view
Modified: Thu Nov 26 11:27:54 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_pstat
2733 dm_pstat(hp, mp) 
2734         struct hostd *hp;
2735         struct pmsg *mp;
2736 {
2737         int tid;
2738         struct pmsg *mp2;
2739  
2740         hp = hp;     /* Unused Value */
2741         upkuint(mp, &tid);
2742         if (tid == pvmmytid || task_find(tid))
2743                 tid = 0;
2744         else 
2745                 tid = PvmNoTask;
2746         mp2 = mesg_new(0);
2747         mp2->m_dst = mp->m_src;   /* Null Pointer Dereference (ID: 161.28783) */
2748         mp2->m_tag = DM_PSTATACK;
2749         mp2->m_wid = mp->m_wid;
2750         pkint(mp2, tid);
2751         sendmessage(mp2);
2752         return 0;
2753 } 




Change Warning 160.28782 : Unused Value

Priority:
State:
Finding:
Owner:
Note: