]> granicus.if.org Git - graphviz/commitdiff
mark Origin as static const
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 4 Apr 2021 02:10:28 +0000 (19:10 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 10 Apr 2021 19:51:10 +0000 (12:51 -0700)
This variable is not modified or used outside this file.

lib/mingle/ink.c

index 7c193cfd305709b164871adb380c170744e8b30a..df2f14c8a558590104d6e9fa4ec925a66c98f83d 100644 (file)
@@ -44,8 +44,7 @@ static double dotPoint(point_t a, point_t b){
   return a.x*b.x + a.y*b.y;
 }
 
-
-point_t Origin;
+static const point_t Origin;
 
 /* sumLengths:
  */