]> granicus.if.org Git - graphviz/commitdiff
Remove dead assignment from scan_num
authorAlex Henrie <alexhenrie24@gmail.com>
Mon, 25 Jan 2021 00:29:35 +0000 (17:29 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 31 Jan 2021 00:39:12 +0000 (16:39 -0800)
cmd/lefty/dot2l/dotlex.c

index 85efb764e670f12ec6e7a0113396fc7ae5358321..ef0c04485c177ed1fbab6399ff74bbfc999a06cd 100644 (file)
@@ -277,7 +277,6 @@ static char *scan_num (char *p) {
         *q++ = *z++;
     }
     if ((*z == '.') && (saw_rp == FALSE)) {
-        saw_rp = TRUE;
         *q++ = *z++;
         while (isdigit (*z)) {
             saw_digit = TRUE;