File xenalyze-gcc6.patch of Package xen

--- a/tools/xentrace/xenalyze.c
+++ b/tools/xentrace/xenalyze.c
@@ -2134,9 +2134,13 @@ float weighted_percentile(float * A, /*
 
         /* Re-adjust L and R, based on which element we're looking for */
         if(J_weight<K_weight) 
+	{
             L=I; L_weight = I_weight;
+	}
         if(K_weight<I_weight) 
+	{
             R=J; R_weight = J_weight;
+	}
     }
 
     return A[L];
@@ -2213,9 +2217,13 @@ long long self_weighted_percentile(long
 
         /* Re-adjust L and R, based on which element we're looking for */
         if(J_weight<K_weight)
+	{
             L=I; L_weight = I_weight;
+	}
         if(K_weight<I_weight)
+	{
             R=J; R_weight = J_weight;
+	}
     }
 
     return A[L];
@@ -4122,6 +4130,7 @@ void cr3_dump_list(struct cr3_value_stru
     struct cr3_value_struct **qsort_array;
     int i, N=0;
 
+#if 0
     int cr3_compare_total(const void *_a, const void *_b) {
         struct cr3_value_struct *a=*(typeof(&a))_a;
         struct cr3_value_struct *b=*(typeof(&a))_b;
@@ -4138,6 +4147,7 @@ void cr3_dump_list(struct cr3_value_stru
         } else
             return -1;
     }
+#endif
 
     int cr3_compare_start(const void *_a, const void *_b) {
         struct cr3_value_struct *a=*(typeof(&a))_a;
openSUSE Build Service is sponsored by