1
0
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:
Pierre Joye
2009-10-03 10:19:06 +00:00
parent a7c62ba93f
commit 53829bbbd7
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -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);
-2
View File
@@ -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;
}