]> granicus.if.org Git - graphviz/commitdiff
remove unused fmtnesq function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Jun 2020 00:07:17 +0000 (17:07 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 20 Jun 2020 02:57:17 +0000 (19:57 -0700)
This also removes a compiler warning.

lib/ast/fmtesc.c

index da7eeb1131b67577e2eca9a9ae60838f2b5d10b5..c4490603db7c796ea53cbbeffc285cbf1519d74c 100644 (file)
@@ -146,16 +146,6 @@ char *fmtquote(const char *as, const char *qb, const char *qe, size_t n,
     return buf;
 }
 
-/*
- * escape the usual suspects and quote chars in qs
- * in length n string as
- */
-
-char *fmtnesq(const char *as, const char *qs, size_t n)
-{
-    return fmtquote(as, NiL, qs, n, 0);
-}
-
 /*
  * escape the usual suspects and quote chars in qs
  */