diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-24 21:02:53 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-10-24 21:02:53 +0200 |
commit | 5f6177e00fe4c56ece2cabdd61b772ed040c6e19 (patch) | |
tree | d1a63cf6617ba3e91673b498c86120cda827ad53 /src | |
parent | 004ae15c55b58996d3f4baf0ca14a1c41ab6ce57 (diff) | |
download | fastd-5f6177e00fe4c56ece2cabdd61b772ed040c6e19.tar fastd-5f6177e00fe4c56ece2cabdd61b772ed040c6e19.zip |
Fix maybe-uninitialized warning
Diffstat (limited to 'src')
-rw-r--r-- | src/handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.c b/src/handshake.c index 28abfc2..070c959 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -310,7 +310,7 @@ static inline const fastd_method_t* get_method(fastd_context_t *ctx, const fastd if (handshake->records[RECORD_METHOD_LIST].data && handshake->records[RECORD_METHOD_LIST].length) { fastd_string_stack_t *method_list = parse_string_list(handshake->records[RECORD_METHOD_LIST].data, handshake->records[RECORD_METHOD_LIST].length); - const fastd_method_t *method; + const fastd_method_t *method = NULL; fastd_string_stack_t *method_name = method_list; while (method_name) { |