[Genabel-commits] r1568 - pkg/VariABEL/src/VARlib

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jan 27 11:30:43 CET 2014


Author: lckarssen
Date: 2014-01-27 11:30:42 +0100 (Mon, 27 Jan 2014)
New Revision: 1568

Modified:
   pkg/VariABEL/src/VARlib/supplementary_functions.cpp
Log:
VariABEL: Added brackets in if-statement to fix gcc/clang warning about 'dangling else statement'.


Modified: pkg/VariABEL/src/VARlib/supplementary_functions.cpp
===================================================================
--- pkg/VariABEL/src/VARlib/supplementary_functions.cpp	2014-01-26 23:21:32 UTC (rev 1567)
+++ pkg/VariABEL/src/VARlib/supplementary_functions.cpp	2014-01-27 10:30:42 UTC (rev 1568)
@@ -758,6 +758,7 @@
 	{
   if(snp->COUNTS[i]<=0) {continue;}
 	if(unsigned(snp->COUNTS[i]) < threshold)
+	  {
 		if(exclude_whole_snp)
 			{
 			if(do_warnings_output)
@@ -776,7 +777,7 @@
 			snp->MEAN[i] = NA_value;
 			snp->COUNTS[i] = 0;
 			}	
-	
+	  }
 	}
 
 return true;



More information about the Genabel-commits mailing list