Skip to content

Commit ccea7be

Browse files
committed
Fix warning: 'status' may be used uninitialized in this function
1 parent 697e500 commit ccea7be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

php_memcached.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,7 @@ static void php_memc_store_impl(INTERNAL_FUNCTION_PARAMETERS, int op, zend_bool
15451545

15461546
default:
15471547
/* not reached */
1548+
status = 0;
15481549
assert(0);
15491550
break;
15501551
}

0 commit comments

Comments
 (0)