-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dead code from when
WriteBitBuffer
was not always resizable.
- A long time ago the buffer had an option to prevent resizing. This option is long gone. - The internal function is only called with `allow_resizing == true`. Returning `ResourceExhaustedError` is dead code. - Remove the dead code. The class never returns `ResourceExhaustedError` nor was the error tested. Clean up interface documents to reflect this reality. - Also reduce some log spam when the buffer is flushed to file. PiperOrigin-RevId: 691471124
- Loading branch information
Showing
2 changed files
with
18 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters