Skip to content

Commit f33f5ee

Browse files
committed
Fix warnings
1 parent 8d4c28f commit f33f5ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/dba/libinifile/inifile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ static int inifile_delete_replace_append(inifile *dba, const key_type *key, cons
444444
size_t pos_grp_start = 0, pos_grp_next;
445445
inifile *ini_tmp = NULL;
446446
php_stream *fp_tmp = NULL;
447+
int ret = FAILURE;
447448

448449
/* 1) Search group start
449450
* 2) Search next group
@@ -490,8 +491,7 @@ static int inifile_delete_replace_append(inifile *dba, const key_type *key, cons
490491
}
491492
}
492493

493-
int ret = SUCCESS;
494-
bool is_ok = true;
494+
ret = SUCCESS;
495495
if (key->name && strlen(key->name)) {
496496
/* 6 */
497497
if (!is_append && ini_tmp) {

0 commit comments

Comments
 (0)