]> granicus.if.org Git - graphviz/commitdiff
remove assert as it causes "warning: statement not reached" from Sun's CC
authorellson <devnull@localhost>
Thu, 15 Jun 2006 15:50:08 +0000 (15:50 +0000)
committerellson <devnull@localhost>
Thu, 15 Jun 2006 15:50:08 +0000 (15:50 +0000)
   - the block is small enough that its obvious.

cmd/dot/dot.c

index 79bd29b783e6b54398c12d83bf662271c094026a..53c60d20c1492fdb7de2c6d468ee171d2b31dd50 100644 (file)
@@ -166,7 +166,6 @@ int main(int argc, char **argv)
            /* Delete graph */
            agclose(G);
        }
-       assert(0);              /* should never exit loop */
     } else {
        while ((G = gvNextInputGraph(Gvc))) {
            if (prev) {