git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f6fa7
)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
author
Alexis La Goutte
<alexis.lagoutte@gmail.com>
Tue, 15 Jul 2014 06:41:57 +0000
(08:41 +0200)
committer
Evan Huus
<eapache@gmail.com>
Tue, 15 Jul 2014 22:52:31 +0000
(22:52 +0000)
Change-Id: I17dc2259e039586b9a06944bd1c2b552dd23855d
Reviewed-on: https://code.wireshark.org/review/3052
Reviewed-by: Evan Huus <eapache@gmail.com>
wiretap/logcat.c
patch
|
blob
|
history
diff --git
a/wiretap/logcat.c
b/wiretap/logcat.c
index cd4cb386c966c580b041cc9952846713e68be4af..65dc070859f3add87b7c623e4894efab0ed7440e 100644
(file)
--- 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;