aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rawshark.c b/rawshark.c
index 6b24301e16..9f08eee228 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -945,7 +945,6 @@ load_cap_file(capture_file *cf)
int err;
gchar *err_info;
gint64 data_offset = 0;
- char *save_file_string = NULL;
struct wtap_pkthdr phdr;
guchar pd[WTAP_MAX_PACKET_SIZE];
@@ -984,9 +983,6 @@ load_cap_file(capture_file *cf)
}
}
- if (save_file_string != NULL)
- g_free(save_file_string);
-
return err;
}