Merge pull request #27711 from neikeq/ifdef-clang-tidy

Replace a few #if/#elif with #ifdef and "#elif defined"
This commit is contained in:
Rémi Verschelde 2019-04-08 12:24:30 +02:00 committed by GitHub
commit 918de768a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 17 additions and 17 deletions

View file

@ -1466,7 +1466,7 @@ int Animation::_find(const Vector<K> &p_keys, float p_time) const {
int high = len - 1;
int middle = 0;
#if DEBUG_ENABLED
#ifdef DEBUG_ENABLED
if (low > high)
ERR_PRINT("low > high, this may be a bug");
#endif