changeset 11:cf4c0c822ca9 draft

Uploaded
author bitlab
date Wed, 18 Nov 2020 08:37:31 +0000
parents 12f377f170c2
children 7249f6c19612
files gecko/src/csvExtractBorders.c gecko/src/csvFrags2text.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gecko/src/csvExtractBorders.c	Wed Nov 18 08:23:04 2020 +0000
+++ b/gecko/src/csvExtractBorders.c	Wed Nov 18 08:37:31 2020 +0000
@@ -290,7 +290,7 @@
 	//SeqX length          : 249250621
 	int64_t xlen, ylen;
 	int skipper = 0; while(skipper < 18){ 
-		fgets(buffer, READING_FRAG_BUFFER, fFrags); 
+		(void) fgets(buffer, READING_FRAG_BUFFER, fFrags); 
 
 		if(skipper == 6){
 			sscanf(buffer, "%*s %*s : %"PRId64, &xlen);
@@ -367,7 +367,7 @@
 
 		//readFragment(&frag, fFrags);
 		if(!feof(fFrags)){
-			fgets(buffer, READING_FRAG_BUFFER, fFrags);
+			(void) fgets(buffer, READING_FRAG_BUFFER, fFrags);
 			csv_frag_to_struct_frag(buffer, &frag);
 
 		
--- a/gecko/src/csvFrags2text.c	Wed Nov 18 08:23:04 2020 +0000
+++ b/gecko/src/csvFrags2text.c	Wed Nov 18 08:37:31 2020 +0000
@@ -274,7 +274,7 @@
 	//readSequenceLength(&n2, fFrags);
 	// Skip first lines
 	char buffer[READING_FRAG_BUFFER];
-	int skipper = 0; while(skipper < 18){ fgets(buffer, READING_FRAG_BUFFER, fFrags); skipper++; }
+	int skipper = 0; while(skipper < 18){ (void) fgets(buffer, READING_FRAG_BUFFER, fFrags); skipper++; }
 
 	
 	
@@ -318,7 +318,7 @@
 
 		//readFragment(&frag, fFrags);
 		if(!feof(fFrags)){
-			fgets(buffer, READING_FRAG_BUFFER, fFrags);
+			(void) fgets(buffer, READING_FRAG_BUFFER, fFrags);
 			csv_frag_to_struct_frag(buffer, &frag);