diff options
| author | Rasmus Lerdorf <rasmus@lerdorf.com> | 2013-10-19 17:55:34 -0700 |
|---|---|---|
| committer | Rasmus Lerdorf <rasmus@lerdorf.com> | 2013-10-19 17:55:34 -0700 |
| commit | 4a205092f7d474ecfe4f7e00500ec516c1d23caa (patch) | |
| tree | 36dd4552b48055bddfd654f603ad7027e1e80054 /ext/sockets | |
| parent | 26b27767a6d3e2aa4d4fbb111d92cf01164bf230 (diff) | |
| download | php-git-4a205092f7d474ecfe4f7e00500ec516c1d23caa.tar.gz | |
Trivial Coverity fix
Diffstat (limited to 'ext/sockets')
| -rw-r--r-- | ext/sockets/conversions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/conversions.c b/ext/sockets/conversions.c index ed55ed52fa..d81484521d 100644 --- a/ext/sockets/conversions.c +++ b/ext/sockets/conversions.c @@ -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) { |
