]> jspc29.x-matter.uni-frankfurt.de Git - mvd_soft.git/commitdiff
removing code that's commented out anyway
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Tue, 14 Jul 2015 14:31:55 +0000 (16:31 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Tue, 14 Jul 2015 14:32:10 +0000 (16:32 +0200)
s-curves/c_standalone/testmode_qa_unpacker.c

index 910bdc60fcc759868e71b04a56658e55f929a7d8..b821a276cf0e0e44b23d5525287a428411f042fa 100644 (file)
@@ -1,11 +1,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <string.h>
-//#include <libgen.h>
 #include <arpa/inet.h>
-//#include <sys/types.h>
-//#include <sys/stat.h>
-//#include <unistd.h>
 
 #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));