changeset 365:6ff688bac7b7 gcc-4.3-cleanups

One more set of braces to avoid ambiguous `else's
author mas01cr
date Wed, 12 Nov 2008 14:05:26 +0000
parents 08d5f6fe348e
children 521812d63516
files index.cpp
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/index.cpp	Wed Nov 12 14:01:09 2008 +0000
+++ b/index.cpp	Wed Nov 12 14:05:26 2008 +0000
@@ -603,11 +603,13 @@
   }
   else if(numVecsAboveThreshold)
     for( Uns32T pointID = 0 ; pointID < Nq; pointID++ )
-      if(!use_absolute_threshold || (use_absolute_threshold && (*qpp++ >= absolute_threshold)))
-	if((lsh->get_lshHeader()->flags&O2_SERIAL_FILEFORMAT2) || lsh_in_core)
+      if(!use_absolute_threshold || (use_absolute_threshold && (*qpp++ >= absolute_threshold))) {
+	if((lsh->get_lshHeader()->flags&O2_SERIAL_FILEFORMAT2) || lsh_in_core) {
 	  lsh->retrieve_point((*vv)[pointID], pointID, add_point_func, (void*)this);
-	else
+        } else {
 	  lsh->serial_retrieve_point(database, (*vv)[pointID], pointID, add_point_func, (void*)this);   
+        }
+      }
 
   if(lsh_exact)
     // Perform exact distance computation on point pairs in exact_evaluation_queue