-
-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: Remove unreachable code from GE5ImageIO
if (buffer == nullptr)
In C++, `new char[N]` does not return a `nullptr`, it might just throw an `std::bad_alloc` exception, in case of allocation failure. So there is no need to do something like "if (buffer == nullptr) clean up and throw an exception".
- Loading branch information
1 parent
1800d81
commit d004710
Showing
1 changed file
with
0 additions
and
30 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