1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

Style: Apply clang-tidy to current code, add readability-redundant-member-init

This commit is contained in:
Rémi Verschelde
2022-04-04 18:49:05 +02:00
parent 1abb5ebf65
commit b78aa4fe19
13 changed files with 23 additions and 40 deletions

View File

@@ -52,7 +52,7 @@ RES ResourceFormatGLES2Texture::load(const String &p_path, const String &p_origi
uint8_t **row_p = memnew_arr(uint8_t *, height);
for (unsigned int i = 0; i < height; i++) {
row_p[i] = 0; //No colors any more, I want them to turn black
row_p[i] = nullptr; // No colors any more, I want them to turn black.
}
memdelete_arr(row_p);