diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-18 15:29:25 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-18 15:29:25 +0000 |
commit | f30bce9530cc4c851b8be4625276d26e4fd752a8 (patch) | |
tree | cbd6c44518c211ecb2d1c12783f503aa91c1c158 /epan/dissectors/packet-dtls.c | |
parent | 79a3113f0d1515e77c2f08aec063193db50aebe3 (diff) |
Removed some unneeded assignments.
Found by clang.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36698 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dtls.c')
-rw-r--r-- | epan/dissectors/packet-dtls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c index eea7341b95..2ee81ca2a0 100644 --- a/epan/dissectors/packet-dtls.c +++ b/epan/dissectors/packet-dtls.c @@ -465,7 +465,6 @@ decrypt_dtls_record(tvbuff_t *tvb, packet_info *pinfo, guint32 offset, gboolean save_plaintext) { gint ret; - gint direction; SslDecoder* decoder; ret = 0; @@ -479,7 +478,7 @@ decrypt_dtls_record(tvbuff_t *tvb, packet_info *pinfo, guint32 offset, } /* retrive decoder for this packet direction */ - if ((direction = ssl_packet_from_server(ssl, dtls_associations, pinfo)) != 0) { + if (ssl_packet_from_server(ssl, dtls_associations, pinfo) != 0) { ssl_debug_printf("decrypt_dtls_record: using server decoder\n"); decoder = ssl->server; } |