diff options
author | Gerald Combs <gerald@wireshark.org> | 2008-07-25 18:51:44 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2008-07-25 18:51:44 +0000 |
commit | 2f5f9ae606e9b0641306b585995e87a262991a2e (patch) | |
tree | 822156e91270f64b830603abc4331504bef739b2 /rawshark.c | |
parent | 9bacbeceb55d0734ac93a703bf6613745617f6f7 (diff) |
Remove dead code found in Coverity CID 271.
svn path=/trunk/; revision=25831
Diffstat (limited to 'rawshark.c')
-rw-r--r-- | rawshark.c | 4 |
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; } |