summaryrefslogtreecommitdiff
path: root/wiretap/file_access.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r--wiretap/file_access.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c
index 8650db1b07..f2a145bb5f 100644
--- a/wiretap/file_access.c
+++ b/wiretap/file_access.c
@@ -478,8 +478,6 @@ init_open_routines(void)
void
wtap_register_open_info(struct open_info *oi, const gboolean first_routine)
{
- init_open_routines();
-
if (!oi || !oi->name) {
g_error("No open_info name given to register");
return;
@@ -517,7 +515,6 @@ void
wtap_deregister_open_info(const gchar *name)
{
guint i;
- init_open_routines();
if (!name) {
g_error("Missing open_info name to de-register");
@@ -543,7 +540,6 @@ gboolean
wtap_has_open_info(const gchar *name)
{
guint i;
- init_open_routines();
if (!name) {
g_error("No name given to wtap_has_open_info!");
@@ -587,7 +583,6 @@ unsigned int
open_info_name_to_type(const char *name)
{
unsigned int i;
- init_open_routines();
if (!name)
return WTAP_TYPE_AUTO;
@@ -735,8 +730,6 @@ wtap_open_offline(const char *filename, unsigned int type, int *err, char **err_
*err = 0;
*err_info = NULL;
- init_open_routines();
-
/* open standard input if filename is '-' */
if (strcmp(filename, "-") == 0)
use_stdin = TRUE;