diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-08 19:07:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-08 19:07:09 -0400 |
| commit | 40aa03ebded76a14fbbb81c84cd5ffe0ccc3ec8b (patch) | |
| tree | 3193f0bb83acc44942bc6db6ec307502cd62153e /lib/ptm_lib.c | |
| parent | 75fc729f053b41b2eb214d376042c65bd2af58e8 (diff) | |
| parent | 85bbc95dc3f3fafde75277dea079b9c87c227881 (diff) | |
Merge pull request #1307 from vjardin6WIND/clean
Fix many clang warning
Diffstat (limited to 'lib/ptm_lib.c')
| -rw-r--r-- | lib/ptm_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ptm_lib.c b/lib/ptm_lib.c index f50d1e2989..e881d49225 100644 --- a/lib/ptm_lib.c +++ b/lib/ptm_lib.c @@ -330,7 +330,7 @@ int ptm_lib_process_msg(ptm_lib_handle_t *hdl, int fd, char *inbuf, int inlen, char client_name[32]; int cmd_id, type, ver, msglen; csv_t *csv; - ptm_lib_msg_ctxt_t *p_ctxt; + ptm_lib_msg_ctxt_t *p_ctxt = NULL; len = _ptm_lib_read_ptm_socket(fd, inbuf, PTMLIB_MSG_HDR_LEN); if (len <= 0) |
