TextureGroup / Texture

Smooth asynchronous user interfaces for iOS apps.
https://texturegroup.org/
Other
8.02k stars 1.29k forks source link

Remove trailing semicolons between method parameters and body #1973

Closed sdefresne closed 3 years ago

sdefresne commented 3 years ago

Having a semi-colon between a method parameters list and a method body is not not correct and is usually caused by a copy and paste error while creating the method definition from its declaration.

Fixes the following compilation warnings when building with -Wsemicolon-before-method-body (which is part of -Wextra):

ASPINRemoteImageDownloader.mm:230:85: error: semicolon before method body is ignored [-Werror,-Wsemicolon-before-method-body]

Fixes applied to both code, examples and samples in documentation.