Removing unnecessary bracket/singleton set literal.

This commit is contained in:
REDMOND\brodes
2024-09-30 11:19:31 -04:00
parent 318e75c094
commit 162519185d

View File

@@ -39,7 +39,7 @@ class UnlikelyToBeAStringType extends Type {
exists(Type targ | getABaseType(this) = targ |
// NOTE: not using CharType isUnsigned, but rather look for any explicitly declared unsigned
// char types. Assuming these are used for buffers, not strings.
targ.(CharType).getName().toLowerCase().matches(["unsigned%"]) or
targ.(CharType).getName().toLowerCase().matches("unsigned%") or
targ.getName().toLowerCase().matches(["uint8_t", "%byte%"])
)
}