Text  |   XML   |   Visible Warnings:

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

Categories: LANG.STRUCT.UVAL CWE:563
Warning ID: 128.28749
Procedure: dm_sendsig
Trace: view
Modified: Thu Nov 26 11:27:43 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_sendsig
1696 dm_sendsig(hp, mp) 
1697         struct hostd *hp;
1698         struct pmsg *mp;
1699 {
1700         int tid;
1701         int signum;
1702         struct task *tp;
1703  
1704         hp = hp;     /* Unused Value */
1705  
1706         if (upkuint(mp, &tid) || upkint(mp, &signum)) {
1707                 pvmlogerror("dm_sendsig() bad msg format\n");
1708                 return 0;
1709         }
1710         if (tp = task_find(tid)) {
1711                 ppi_kill(tp, signum);
1712  
1713         } else 
1714                 if (pvmdebmask & (PDMTASK|PDMAPPL)) {
1715                         pvmlogprintf("dm_sendsig() signal for t%x scrapped\n", tid);
1716                 }
1717         return 0;
1718 } 




Change Warning 128.28749 : Unused Value

Priority:
State:
Finding:
Owner:
Note: