From: Philipp Klaus Date: Tue, 14 Jul 2015 14:31:55 +0000 (+0200) Subject: removing code that's commented out anyway X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0f10ef9aeaab2ae69d97ca5ebcc51e21254a0ce1;p=mvd_soft.git removing code that's commented out anyway --- diff --git a/s-curves/c_standalone/testmode_qa_unpacker.c b/s-curves/c_standalone/testmode_qa_unpacker.c index 910bdc6..b821a27 100644 --- a/s-curves/c_standalone/testmode_qa_unpacker.c +++ b/s-curves/c_standalone/testmode_qa_unpacker.c @@ -1,11 +1,7 @@ #include #include #include -//#include #include -//#include -//#include -//#include #include "math_helpers.h" #include "testmode_qa_unpacker.h" @@ -79,23 +75,6 @@ int main(int argc, char **argv) return 1; } - /* - // construct foldername for results - char results_foldername[1024] = ""; - strcpy(results_foldername, hld_filename); - results_foldername[1023] = '\0'; // ensure it's a zero terminated string - char *dot = strrchr(results_foldername, '.'); - if (dot && !strcmp(dot, ".hld")) - strcpy(dot, ".results"); - else - strcat(results_foldername, ".results"); - struct stat st = {0}; - printf("Results foldername: %s\n", results_foldername); - if (stat(results_foldername, &st) == -1) { - mkdir(results_foldername, 0700); - } - */ - pos = 0; memset(min_values, 0xff, BANKS*sizeof(testmode_frame_header)); memset(max_values, 0x00, BANKS*sizeof(testmode_frame_header));