1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 14:31:06 +02:00

Add comment explaining empty default case

This commit is contained in:
George Peter Banyard
2021-03-12 21:02:15 +00:00
parent 6cc0d7c0ec
commit f89f600d4f

View File

@@ -801,9 +801,8 @@ static bool pdo_dbh_attribute_set(pdo_dbh_t *dbh, zend_long attr, zval *value) /
}
return true;
}
default:
;
/* Don't throw a ValueError as the attribute might be a driver specific one */
default:;
}
if (!dbh->methods->set_attribute) {