summaryrefslogtreecommitdiff
path: root/wiretap/logcat_text.c
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2016-03-28 13:37:24 +0200
committerJörg Mayer <jmayer@loplof.de>2016-03-28 11:43:56 +0000
commitc0e48778b7c54dcd02b3700ff467031648d33bce (patch)
treee477c479041e6dcd3d88b8774704ddd081367bfc /wiretap/logcat_text.c
parent1aaaac5e2eb85f3a3d02f637cc1d43aff11a97a0 (diff)
downloadwireshark-c0e48778b7c54dcd02b3700ff467031648d33bce.tar.gz
Fix some warnings/errors of type
git/epan/dissectors/packet-a21.c:478:25: error: 'item' was marked unused but was used [-Werror,-Wused-but-marked-unused] proto_item_append_text(item, "%s", val_to_str_const(event_id, a21_event_vals, "Unknown")); ^ Added manual change id because file-jpeg.c forced the use of commit -n Change-Id: Iffff53d6253758c8454d9583f0a11f317c8390cb Reviewed-on: https://code.wireshark.org/review/14666 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'wiretap/logcat_text.c')
-rw-r--r--wiretap/logcat_text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/logcat_text.c b/wiretap/logcat_text.c
index 870121a76e..551358170f 100644
--- a/wiretap/logcat_text.c
+++ b/wiretap/logcat_text.c
@@ -224,7 +224,7 @@ static gboolean logcat_text_read_packet(FILE_T fh, struct wtap_pkthdr *phdr,
}
static gboolean logcat_text_read(wtap *wth, int *err _U_ , gchar **err_info _U_,
- gint64 *data_offset _U_) {
+ gint64 *data_offset) {
*data_offset = file_tell(wth->fh);
return logcat_text_read_packet(wth->fh, &wth->phdr, wth->frame_buffer,
@@ -232,7 +232,7 @@ static gboolean logcat_text_read(wtap *wth, int *err _U_ , gchar **err_info _U_,
}
static gboolean logcat_text_seek_read(wtap *wth, gint64 seek_off,
- struct wtap_pkthdr *phdr, Buffer *buf, int *err _U_, gchar **err_info _U_) {
+ struct wtap_pkthdr *phdr, Buffer *buf, int *err, gchar **err_info _U_) {
if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1)
return FALSE;