mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
- drop unused var and fix example
This commit is contained in:
@@ -13,7 +13,7 @@ if (enchant_broker_dict_exists($r,$tag)) {
|
||||
$spellerrors = enchant_dict_check($d, "soong");
|
||||
print_r($dprovides);
|
||||
echo "found $spellerrors spell errors\n";
|
||||
if ($spellerrors) {
|
||||
if (!$spellerrors) {
|
||||
$suggs = enchant_dict_suggest($d, "soong");
|
||||
echo "Suggestions for 'soong':";
|
||||
print_r($suggs);
|
||||
|
||||
@@ -405,8 +405,6 @@ PHP_FUNCTION(enchant_broker_list_dicts)
|
||||
enchant_broker *pbroker;
|
||||
EnchantDictDescribeFn describetozval = php_enchant_list_dicts_fn;
|
||||
|
||||
char *msg;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &broker) == FAILURE) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user