Commit 4ee9e066 authored by Eugene Kosov's avatar Eugene Kosov

fix clang build

parent ca894897
...@@ -133,7 +133,6 @@ static int run_test(const char *filename) ...@@ -133,7 +133,6 @@ static int run_test(const char *filename)
int key_length=8; int key_length=8;
int null_fields=0; int null_fields=0;
int nrecords=sizeof(rt_data)/(sizeof(double)*4);/* 40 */ int nrecords=sizeof(rt_data)/(sizeof(double)*4);/* 40 */
int rec_length=0;
int uniques=0; int uniques=0;
int i, max_i; int i, max_i;
int error; int error;
...@@ -153,7 +152,6 @@ static int run_test(const char *filename) ...@@ -153,7 +152,6 @@ static int run_test(const char *filename)
recinfo[0].type=FIELD_NORMAL; recinfo[0].type=FIELD_NORMAL;
recinfo[0].length=1; /* For NULL bits */ recinfo[0].length=1; /* For NULL bits */
rec_length=1;
/* Define 2*ndims columns for coordinates*/ /* Define 2*ndims columns for coordinates*/
...@@ -161,7 +159,6 @@ static int run_test(const char *filename) ...@@ -161,7 +159,6 @@ static int run_test(const char *filename)
{ {
recinfo[i].type=FIELD_NORMAL; recinfo[i].type=FIELD_NORMAL;
recinfo[i].length=key_length; recinfo[i].length=key_length;
rec_length+=key_length;
} }
/* Define a key with 2*ndims segments */ /* Define a key with 2*ndims segments */
......
...@@ -103,7 +103,6 @@ static int run_test(const char *filename) ...@@ -103,7 +103,6 @@ static int run_test(const char *filename)
int key_length=8; int key_length=8;
int null_fields=0; int null_fields=0;
int nrecords=sizeof(rt_data)/(sizeof(double)*4);/* 3000;*/ int nrecords=sizeof(rt_data)/(sizeof(double)*4);/* 3000;*/
int rec_length=0;
int uniques=0; int uniques=0;
int i, max_i; int i, max_i;
int error; int error;
...@@ -123,14 +122,12 @@ static int run_test(const char *filename) ...@@ -123,14 +122,12 @@ static int run_test(const char *filename)
recinfo[0].type=FIELD_NORMAL; recinfo[0].type=FIELD_NORMAL;
recinfo[0].length=1; /* For NULL bits */ recinfo[0].length=1; /* For NULL bits */
rec_length=1;
/* Define 2*ndims columns for coordinates*/ /* Define 2*ndims columns for coordinates*/
for (i=1; i<=2*ndims ;i++){ for (i=1; i<=2*ndims ;i++){
recinfo[i].type=FIELD_NORMAL; recinfo[i].type=FIELD_NORMAL;
recinfo[i].length=key_length; recinfo[i].length=key_length;
rec_length+=key_length;
} }
/* Define a key with 2*ndims segments */ /* Define a key with 2*ndims segments */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment