Comment out dead assignement

To silence static code analysis
This commit is contained in:
Willem Toorop 2017-03-20 21:57:57 +01:00
parent 24abf43de1
commit a77a335370
1 changed files with 3 additions and 1 deletions

View File

@ -788,7 +788,9 @@ mdns_update_cache_ttl_and_prune(struct getdns_context *context,
memmove(old_record + last_copied_index, old_record + current_hole_index,
answer_index - current_hole_index);
last_copied_index += answer_index - current_hole_index;
answer_index = last_copied_index;
/* dead assignment */
/* answer_index = last_copied_index; */
}
/* if some records were deleted, update the record headers */