We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Godot version: 3.2 master, 0aefec2
OS/device including version:
Ubuntu 18.04.3 LTS VM (32 and 64-bit) gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
Issue description:
scons -j4 p=x11 tools=yes target=debug debug_symbols=yes optimize=speed warnings=extra
Following warnings are raised with aforementioned compiler and build command.
Warnings:
core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 1; bool read_alpha = false; unsigned int write_bytes = 1; bool write_alpha = true; bool read_gray = true; bool write_gray = true; uint8_t = unsigned char]': core/image.cpp:466:104: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches] core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 1; bool read_alpha = false; unsigned int write_bytes = 1; bool write_alpha = false; bool read_gray = true; bool write_gray = false; uint8_t = unsigned char]': core/image.cpp:467:105: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches] core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 1; bool read_alpha = true; unsigned int write_bytes = 1; bool write_alpha = false; bool read_gray = true; bool write_gray = true; uint8_t = unsigned char]': core/image.cpp:471:104: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches] core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 1; bool read_alpha = true; unsigned int write_bytes = 1; bool write_alpha = false; bool read_gray = true; bool write_gray = false; uint8_t = unsigned char]': core/image.cpp:472:105: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches] core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 1; bool read_alpha = false; unsigned int write_bytes = 1; bool write_alpha = false; bool read_gray = false; bool write_gray = true; uint8_t = unsigned char]': core/image.cpp:476:105: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches] core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 1; bool read_alpha = false; unsigned int write_bytes = 1; bool write_alpha = true; bool read_gray = false; bool write_gray = true; uint8_t = unsigned char]': core/image.cpp:477:105: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches] core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 3; bool read_alpha = false; unsigned int write_bytes = 3; bool write_alpha = true; bool read_gray = false; bool write_gray = false; uint8_t = unsigned char]': core/image.cpp:490:110: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches] core/image.cpp: In instantiation of 'void _convert(int, int, const uint8_t*, uint8_t*) [with unsigned int read_bytes = 3; bool read_alpha = true; unsigned int write_bytes = 3; bool write_alpha = false; bool read_gray = false; bool write_gray = false; uint8_t = unsigned char]': core/image.cpp:495:110: required from here cc1plus: warning: this condition has identical branches [-Wduplicated-branches]
Relevant code:
godot/core/image.cpp
Lines 460 to 500 in 0aefec2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Godot version:
3.2 master, 0aefec2
OS/device including version:
Ubuntu 18.04.3 LTS VM (32 and 64-bit)
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
Issue description:
Following warnings are raised with aforementioned compiler and build command.
Warnings:
Relevant code:
godot/core/image.cpp
Lines 460 to 500 in 0aefec2
The text was updated successfully, but these errors were encountered: