Changeset 90a45b8 for protocols


Ignore:
Timestamp:
2016-12-26T22:38:32Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
d57484d
Parents:
26eed8a
git-author:
dequis <dx@…> (26-12-16 02:17:28)
git-committer:
dequis <dx@…> (26-12-16 22:38:32)
Message:

Fix some clang static analyzer warnings

Nothing interesting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/s5bytestream.c

    r26eed8a r90a45b8  
    500500        case BS_PHASE_REPLY:
    501501        {
    502                 struct socks5_message socks5_reply;
     502                struct socks5_message socks5_reply = {0};
    503503                int ret;
    504504
     
    10461046                        unsigned char nmethods;
    10471047                        unsigned char method;
    1048                 } socks5_hello;
     1048                } socks5_hello = {0};
    10491049
    10501050                if (!(ret = jabber_bs_peek(bt, &socks5_hello, sizeof(socks5_hello)))) {
     
    10911091        case BS_PHASE_REQUEST:
    10921092        {
    1093                 struct socks5_message socks5_connect;
     1093                struct socks5_message socks5_connect = {0};
    10941094                int msgsize = sizeof(struct socks5_message);
    10951095                int ret;
Note: See TracChangeset for help on using the changeset viewer.