commit | e516c39ee97cb85fa230fbb1b1f54ad1346920d9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Feb 13 18:50:38 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Feb 13 18:50:38 2016 +0100 |
tree | 29ca8f98a886707acb7f2d8dade8c17d3e99928e | |
parent | bfa1ffca8bcce92c030d8366036a316954f1ee69 [diff] [blame] |
patch 7.4.1314 Problem: Warning for uninitialzed variable. Solution: Initialize it. (Dominique Pelle)
diff --git a/src/channel.c b/src/channel.c index d810925..fa40a14 100644 --- a/src/channel.c +++ b/src/channel.c
@@ -1537,7 +1537,7 @@ channel_T *channel = &channels[ch_idx]; int len = (int)STRLEN(buf); int res; - int fd; + int fd = -1; int use_socket = FALSE; if (channel->ch_sock >= 0)