Text  |   XML   |   Visible Warnings:

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

Categories: LANG.STRUCT.UVAL CWE:563
Warning ID: 2602.2636
Procedure: dm_hostsync
Trace: View
Modified: Wed Sep 2 12:42:06 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_hostsync
3321 dm_hostsync(hp, mp) 
3322         struct hostd *hp;
3323         struct pmsg *mp;
3324 {
3325         struct pmsg *mp2;
3326         struct timeval now;
3327  
3328         mp = mp;
3329         hp = hp;     /* Unused Value */
3330  
3331         mp2 = mesg_new(0);
3332         mp2->m_dst = mp->m_src;   /* Null Pointer Dereference (ID: 2603.2637) */
3333         mp2->m_tag = DM_HOSTSYNCACK;
3334         mp2->m_wid = mp->m_wid;
3335         gettimeofday(&now, (struct timezone *)0);
3336         pkint(mp2, (int)now.tv_sec);
3337         pkint(mp2, (int)now.tv_usec);
3338         sendmessage(mp2);
3339         return 0;
3340 




Change Warning 2602.2636 : Unused Value

Priority:
State:
Finding:
Owner:
Note: