Skip to content

Commit 4856a51

Browse files
committed
remove defensive check if callers will never pass us NULL
1 parent ab538a4 commit 4856a51

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

main/php_odbc_utils.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
*/
3939
PHPAPI bool php_odbc_connstr_is_quoted(const char *str)
4040
{
41-
if (!str) {
42-
return false;
43-
}
4441
/* ODBC quotes are curly braces */
4542
if (str[0] != '{') {
4643
return false;

0 commit comments

Comments
 (0)