diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-19 15:46:49 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-19 15:57:56 +0200 |
commit | 85220fec010a4946cb364974eac69418b4e06411 (patch) | |
tree | c0b8b99f083180a03d0968c08cd0e6ca10b903b3 /core/image.cpp | |
parent | 9b3d43cb974dd3407fd0936e486e34b8cec436e7 (diff) |
Style: Remove unnecessary semicolons from `core`
Semicolons are not necessary after function definitions or control flow
blocks, and having some code use them makes things inconsistent (and
occasionally can mess up `clang-format`'s formatting).
Removing them is tedious work though, I had to do this manually (regex
+ manual review) as I couldn't find a tool for that. All other code
folders would need to get the same treatment.
Diffstat (limited to 'core/image.cpp')
-rw-r--r-- | core/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/image.cpp b/core/image.cpp index 51216c8c31..c98aff0f29 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -1399,7 +1399,7 @@ int Image::_get_dst_image_size(int p_width, int p_height, Format p_format, int & h = MAX(minh, h >> 1); } mm++; - }; + } r_mipmaps = mm; return size; @@ -2031,7 +2031,7 @@ void Image::create(const char **p_xpm) { case 5: col_b |= v; break; - }; + } } // magenta mask |