Remove extra whitespace before EOL

This commit is contained in:
2025-06-29 22:15:21 +03:00
parent f82f87cc41
commit d527bd4686
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ void BH_Mat3fMul(const float a[9],
{ {
float tmp[9], row[3]; float tmp[9], row[3];
SET_ROW(row, b[0]); BH_Vec3fMul(&a[0], row, &tmp[0]); SET_ROW(row, b[0]); BH_Vec3fMul(&a[0], row, &tmp[0]);
SET_ROW(row, b[1]); BH_Vec3fMulAdd(&a[3], row, &tmp[0], &tmp[0]); SET_ROW(row, b[1]); BH_Vec3fMulAdd(&a[3], row, &tmp[0], &tmp[0]);
SET_ROW(row, b[2]); BH_Vec3fMulAdd(&a[6], row, &tmp[0], &tmp[0]); SET_ROW(row, b[2]); BH_Vec3fMulAdd(&a[6], row, &tmp[0], &tmp[0]);

View File

@@ -117,7 +117,7 @@ int BH_SemaphorePost(BH_Semaphore *semaphore)
/* Increase semaphore value */ /* Increase semaphore value */
if (pthread_mutex_lock(&semaphore->mutex)) if (pthread_mutex_lock(&semaphore->mutex))
return BH_ERROR; return BH_ERROR;
result = BH_OK; result = BH_OK;
semaphore->count++; semaphore->count++;
if (semaphore->waiters && pthread_cond_signal(&semaphore->condition)) if (semaphore->waiters && pthread_cond_signal(&semaphore->condition))
@@ -142,7 +142,7 @@ int BH_SemaphoreWait(BH_Semaphore *semaphore)
result = pthread_cond_wait(&semaphore->condition, &semaphore->mutex); result = pthread_cond_wait(&semaphore->condition, &semaphore->mutex);
if (result && result != ETIMEDOUT) { if (result && result != ETIMEDOUT) {
result = BH_ERROR; result = BH_ERROR;
break; break;
} }
result = BH_OK; result = BH_OK;
} }