1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00
Files
archived-php-src/ext/pdo
Niels Dossche ad1dfa35f2 Minor PDO conditions cleanup (#13584)
* Get rid of inverted NULL checks

As the dbh pointer is already used in address computation,
the NULL checks is redundant. Looking at the callers
there are no cases where this can be passed as NULL.

* Message can't be NULL here

* Remove null check for return_value

As one of the branches dereferences return_value unconditionally, the
NULL check is dubious. In fact, looking at the callers we see that
return_value can never be NULL. So remove the check and fix the comment.
2024-03-04 17:36:51 +01:00
..
2024-02-27 15:32:20 +00:00
2024-01-28 19:50:55 +01:00
2022-12-18 23:20:29 -07:00
2024-01-11 23:22:41 +01:00