Text   |  XML   |  ReML   |   Visible Warnings:

Useless Assignment  at data-stack.c:503

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

data_stack_init

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/data-stack.c)expand/collapse
Show more  
 490  void data_stack_init(void)
 491  {
 492  #ifdef DEBUG 
 493          clean_after_pop = TRUE;
 494  #endif
 495          if (data_stack_frame == 0) {
 496                  data_stack_frame = 1;
 497   
 498                  outofmem_area.block.size = outofmem_area.block.left =
 499                          sizeof(outofmem_area) - sizeof(outofmem_area.block);
 500   
 501                  current_block = mem_block_alloc(INITIAL_STACK_SIZE);
 502                  current_block->left = current_block->size;
 503                  current_block->next = NULL;
 504   
 505                  current_frame_block = NULL;
 506                  unused_frame_blocks = NULL;
 507                  frame_pos = BLOCK_FRAME_COUNT-1;
 508   
 509                  last_buffer_block = NULL;
 510                  last_buffer_size = 0;
 511          }
 512   
 513          t_push();
 514  }
Show more  




Change Warning 7030.24478 : Useless Assignment

Priority:
State:
Finding:
Owner:
Note: