Browse Source

Fix compare that is always true

Björn Wahlstrand 1 year ago
parent
commit
8ebe4b5e57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/string_cast.inl

+ 1 - 1
glm/gtx/string_cast.inl

@@ -22,7 +22,7 @@ namespace detail
 		std::size_t const STRING_BUFFER(4096);
 
 		assert(message != NULL);
-		assert(strlen(message) >= 0 && strlen(message) < STRING_BUFFER);
+		assert(strlen(message) < STRING_BUFFER);
 
 		char buffer[STRING_BUFFER];
 		va_list list;