aboutsummaryrefslogtreecommitdiffstats
path: root/rawshark.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-25 18:51:44 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-25 18:51:44 +0000
commitc7d9768a5f9ad5225e6359f00cda7290c4f58d39 (patch)
tree822156e91270f64b830603abc4331504bef739b2 /rawshark.c
parentb6a1533825e4aef13e8c45fcdc559f1472c404ab (diff)
Remove dead code found in Coverity CID 271.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25831 f5534014-38df-0310-8fa8-9805f1628bb7
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;
}