]> granicus.if.org Git - graphviz/commitdiff
sfdpgen spring_electrical_embedding_slow: remove 'qtree_cpu' that is always 0
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 26 Nov 2022 17:39:04 +0000 (09:39 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 30 Nov 2022 01:04:39 +0000 (17:04 -0800)
lib/sfdpgen/spring_electrical.c

index 80c6253599d3346b06c5a365aafc4ce7426ec3b4..75aa793a7d217bbb7c9e369a92c842cd1758deea 100644 (file)
@@ -663,7 +663,6 @@ static void spring_electrical_embedding_slow(int dim, SparseMatrix A0, spring_el
   double *force;
 #ifdef TIME
   clock_t start, end, start0, start2;
-  double qtree_cpu = 0;
   double total_cpu = 0;
   start0 = clock();
 #endif
@@ -812,7 +811,7 @@ static void spring_electrical_embedding_slow(int dim, SparseMatrix A0, spring_el
 
 #ifdef TIME
   total_cpu += ((double) (clock() - start0)) / CLOCKS_PER_SEC;
-  if (Verbose) fprintf(stderr, "time for supernode = %f, total cpu = %f\n",qtree_cpu, total_cpu);
+  if (Verbose) fprintf(stderr, "time for supernode = 0, total cpu = %f\n", total_cpu);
 #endif
 
  RETURN: