]> granicus.if.org Git - graphviz/commitdiff
mm2gv: remove unused 'mm_write_mtx_crd_size'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 8 Apr 2022 15:07:45 +0000 (08:07 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 11 Apr 2022 02:54:35 +0000 (19:54 -0700)
cmd/tools/mmio.c
cmd/tools/mmio.h

index 8cdc5506f16569e55625a743cce4c1085f5e32d3..0e66cdc9fd4a962607337b1a75d670c738871707 100644 (file)
@@ -103,14 +103,6 @@ int mm_read_banner(FILE * f, MM_typecode * matcode)
     return 0;
 }
 
-int mm_write_mtx_crd_size(FILE * f, int M, int N, int nz)
-{
-    if (fprintf(f, "%d %d %d\n", M, N, nz) != 3)
-       return MM_COULD_NOT_WRITE_FILE;
-    else
-       return 0;
-}
-
 int mm_read_mtx_crd_size(FILE * f, int *M, int *N, int *nz)
 {
     char line[MM_MAX_LINE_LENGTH];
index 454a441a360532dd39192dd478a095ddd8874add..6b72d78f760619591f5662f7fc2a5fd0da5c0196 100644 (file)
@@ -30,7 +30,6 @@ int mm_read_mtx_crd_size(FILE * f, int *M, int *N, int *nz);
 int mm_read_mtx_array_size(FILE * f, int *M, int *N);
 
 int mm_write_banner(FILE * f, MM_typecode matcode);
-int mm_write_mtx_crd_size(FILE * f, int M, int N, int nz);
 
 /********************* MM_typecode query fucntions ***************************/