From 846fa652f1fee831a2becc3844f519258f571466 Mon Sep 17 00:00:00 2001 From: gurkenhabicht Date: Thu, 24 May 2018 17:21:20 +0200 Subject: [PATCH] deleted dead code --- src/ansi_c_implementation/NLMSvariants.c | 7 +------ src/cpp_implementation/NLMSvariants.cpp | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/ansi_c_implementation/NLMSvariants.c b/src/ansi_c_implementation/NLMSvariants.c index d8913f7..e8ee57f 100644 --- a/src/ansi_c_implementation/NLMSvariants.c +++ b/src/ansi_c_implementation/NLMSvariants.c @@ -671,12 +671,7 @@ void mkSvgGraph(point_t points[]) { if (input == NULL) { printf("No inputfile at mkSvgGraph()"); exit(EXIT_FAILURE); - } - - fseek(input, 0, SEEK_END); - long fpLength = ftell(input); - fseek(input, 0, SEEK_SET); - + } char buffer[131072] = ""; // Bit dirty // char *buffer = (char *) malloc ( sizeof(char) * ( ( 3 * mlData->samplesCount ) + fpLength + 1 ) ); diff --git a/src/cpp_implementation/NLMSvariants.cpp b/src/cpp_implementation/NLMSvariants.cpp index d8913f7..e8ee57f 100644 --- a/src/cpp_implementation/NLMSvariants.cpp +++ b/src/cpp_implementation/NLMSvariants.cpp @@ -671,12 +671,7 @@ void mkSvgGraph(point_t points[]) { if (input == NULL) { printf("No inputfile at mkSvgGraph()"); exit(EXIT_FAILURE); - } - - fseek(input, 0, SEEK_END); - long fpLength = ftell(input); - fseek(input, 0, SEEK_SET); - + } char buffer[131072] = ""; // Bit dirty // char *buffer = (char *) malloc ( sizeof(char) * ( ( 3 * mlData->samplesCount ) + fpLength + 1 ) );