mirror of
https://github.com/google/brotli.git
synced 2026-09-24 15:46:13 +00:00
[PR #334] [CLOSED] Fix build with -Wshadow. #931
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/334
Author: @PiotrSikora
Created: 3/24/2016
Status: ❌ Closed
Base:
master← Head:shadow📝 Commits (1)
6210596Fix build with -Wshadow.📊 Changes
5 files changed (+42 additions, -41 deletions)
View changed files
📝
enc/block_splitter.cc(+3 -3)📝
enc/compress_fragment.cc(+10 -10)📝
enc/compress_fragment_two_pass.cc(+10 -10)📝
enc/entropy_encode.cc(+3 -3)📝
enc/literal_cost.cc(+16 -15)📄 Description
Local variable shadowing makes code quite confusing in most cases.
I'm not sure if the new variable names are correct in all those cases,
so feel free to rename them.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.