diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-07-15 08:41:57 +0200 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-07-15 22:52:31 +0000 |
commit | ef1b11f622ce61bc363e13ec6b80afaae9642441 (patch) | |
tree | ab0f2148ed96a2ef733d2bf608c438c54cd4fce5 /wiretap/logcat.c | |
parent | f9f6fa74fd78d78b268b49b84ad9f37175321cdc (diff) | |
download | wireshark-ef1b11f622ce61bc363e13ec6b80afaae9642441.tar.gz |
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I17dc2259e039586b9a06944bd1c2b552dd23855d
Reviewed-on: https://code.wireshark.org/review/3052
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'wiretap/logcat.c')
-rw-r--r-- | wiretap/logcat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/wiretap/logcat.c b/wiretap/logcat.c index cd4cb386c9..65dc070859 100644 --- a/wiretap/logcat.c +++ b/wiretap/logcat.c @@ -199,7 +199,6 @@ static gint detect_version(wtap *wth, int *err, gchar **err_info) if (*err == 0 && bytes_read != 0) *err = WTAP_ERR_SHORT_READ; /* short read, end of file? Whatever, this cannot be valid. */ - version = -1; break; } read_sofar += bytes_read; |