Style: Cleanup single-line blocks, semicolons, dead code
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
This commit is contained in:
parent
f5b9cbaff6
commit
b8b4580448
137 changed files with 847 additions and 1269 deletions
|
|
@ -391,16 +391,18 @@ bool OS::has_feature(const String &p_feature) {
|
|||
return true;
|
||||
}
|
||||
#else
|
||||
if (p_feature == "release")
|
||||
if (p_feature == "release") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (p_feature == "editor") {
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
if (p_feature == "standalone")
|
||||
if (p_feature == "standalone") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (sizeof(void *) == 8 && p_feature == "64") {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ class SpinLock {
|
|||
public:
|
||||
_ALWAYS_INLINE_ void lock() {
|
||||
while (locked.test_and_set(std::memory_order_acquire)) {
|
||||
;
|
||||
// Continue.
|
||||
}
|
||||
}
|
||||
_ALWAYS_INLINE_ void unlock() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue