Trivial Coverity fix

This commit is contained in:
Rasmus Lerdorf 2013-10-19 17:55:34 -07:00
parent 26b27767a6
commit 4a205092f7

View File

@ -1257,7 +1257,7 @@ void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx)
/* CONVERSIONS for if_index */
static void from_zval_write_ifindex(const zval *zv, char *uinteger, ser_context *ctx)
{
unsigned ret;
unsigned ret = 0;
zval lzval = zval_used_for_init;
if (Z_TYPE_P(zv) == IS_LONG) {