From: Marcus Boerger Date: Tue, 21 Feb 2006 00:55:38 +0000 (+0000) Subject: - Simplify by remove redundant checks X-Git-Tag: RELEASE_1_2~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76df257b153eba11d71033387d7664a4fc1f28fc;p=php - Simplify by remove redundant checks --- diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c index 0a8830d923..0b134d431c 100755 --- a/ext/pdo/pdo.c +++ b/ext/pdo/pdo.c @@ -67,7 +67,7 @@ PDO_API char *php_pdo_str_tolower_dup(const char *src, int len) PDO_API zend_class_entry *php_pdo_get_exception_base(int root TSRMLS_DC) { -#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1)) +#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) if (!root) { if (!spl_ce_RuntimeException) { zend_class_entry **pce;