Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Unused Value  at cmds.c:1419

Categories: LANG.STRUCT.UVAL CWE:563
Warning ID: 510.29302
Procedure: conf_cmd
Trace: view
Modified: Thu Nov 26 11:36:52 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/console/cmds.c
  Enter conf_cmd
1413 conf_cmd(ac, av) 
1414         int ac;
1415         char **av;
1416 {
1417         int i;
1418  
1419         ac = ac;     /* Unused Value */
1420         av = av;   /* Unused Value (ID: 509.29301) */
1421         if (!pvm_config(&nhosts, &narchs, &hostlist)) {
1422                 printf("%d host%s, %d data format%s\n",
1423                         nhosts, (nhosts > 1 ? "s" : ""), narchs, (narchs > 1 ? "s" : ""));
1424                 fputs("                    HOST     DTID     ARCH   SPEED       DSIG\n", stdout);
1425                 for (i = 0; i < nhosts; i++)
1426                         printf("%24s %8x %8s%8d 0x%08x\n",
1427                                         hostlist[i].hi_name,
1428                                         hostlist[i].hi_tid,
1429                                         hostlist[i].hi_arch,
1430                                         hostlist[i].hi_speed,
1431                                         hostlist[i].hi_dsig);
1432         }
1433         return 0;
1434 } 




Change Warning 510.29302 : Unused Value

Priority:
State:
Finding:
Owner:
Note: