Text  |   XML   |   Visible Warnings:

pvm3.4.6 : pvm3.4.6 analysis 2 : Useless Assignment  at task.c:322

Categories: LANG.STRUCT.UA
Warning ID: 22028.28657
Procedure: task_init
Trace: view
Modified: Thu Nov 26 11:27:17 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/task.c
  Enter task_init
310 task_init() 
311 {
312         if (!locltasks) {
313                 locltasks = TALLOC(1, struct task, "task");
314                 BZERO((char*)locltasks, sizeof(struct task));   /* Null Pointer Dereference (ID: 72.28659) */
315                 locltasks->t_link = locltasks;
316                 locltasks->t_rlink = locltasks;
317                 locltasks->t_plink = locltasks;
318                 locltasks->t_prlink = locltasks;
319  
320                 cconlist = TALLOC(1, struct ccon, "ccon");
321                 BZERO((char*)cconlist, sizeof(struct ccon));   /* Null Pointer Dereference (ID: 71.28658) */
322                 cconlist->c_link = cconlist->c_rlink = cconlist;     /* Useless Assignment */
323         }
324 } 




Change Warning 22028.28657 : Useless Assignment

Priority:
State:
Finding:
Owner:
Note: