From 1174413115c00dabec4974f73eae26f231a9df08 Mon Sep 17 00:00:00 2001
From: Michael Jerris <mike@jerris.com>
Date: Mon, 28 Apr 2014 12:40:55 -0400
Subject: [PATCH] remove unused variable

---
 src/switch_core_file.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/switch_core_file.c b/src/switch_core_file.c
index 663039b4fc..3c6a2f8494 100644
--- a/src/switch_core_file.c
+++ b/src/switch_core_file.c
@@ -48,7 +48,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
 	const char *spool_path = NULL;
 	int is_stream = 0;
 	char *fp = NULL;
-	switch_event_t *params = NULL;
 	int to = 0;
 
 	if (switch_test_flag(fh, SWITCH_FILE_OPEN)) {
@@ -181,10 +180,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
 
 	file_path = fh->spool_path ? fh->spool_path : fh->file_path;
 
-	if (params) {
-		fh->params = params;
-	}
-
 	if ((status = fh->file_interface->file_open(fh, file_path)) != SWITCH_STATUS_SUCCESS) {
 		if (fh->spool_path) {
 			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Spool dir is set.  Make sure [%s] is also a valid path\n", fh->spool_path);