]> granicus.if.org Git - graphviz/commitdiff
remove now-unnecessary use of volatile on some locals
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 12 Oct 2020 00:33:54 +0000 (17:33 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 20 Oct 2020 01:31:02 +0000 (18:31 -0700)
Related to #1801.

cmd/lefty/dot2l/dot2l.c

index 129164b945a91e004033eef9016c5d6351002c0f..3c8f26b9c120969afdf13d84646af32e4879bad3 100644 (file)
@@ -40,8 +40,8 @@ static void writeattr (int, Tobj, char *);
 static void quotestring (char *, Tobj);
 
 Tobj D2Lparsegraphlabel (Tobj lo, Tobj ro) {
-    volatile long lm;
-    volatile Tobj to;
+    long lm;
+    Tobj to;
 
     lm = Mpushmark (lo);
     Mpushmark (ro);