]> granicus.if.org Git - graphviz/commitdiff
mm2gv: remove unused 'mm_write_mtx_array_size'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 8 Apr 2022 15:07:10 +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 6cd5e7b89c6e9448ddfbbf1c8d8156e8e99a4d3a..8cdc5506f16569e55625a743cce4c1085f5e32d3 100644 (file)
@@ -169,16 +169,6 @@ int mm_read_mtx_array_size(FILE * f, int *M, int *N)
     return 0;
 }
 
-int mm_write_mtx_array_size(FILE * f, int M, int N)
-{
-    if (fprintf(f, "%d %d\n", M, N) != 2)
-       return MM_COULD_NOT_WRITE_FILE;
-    else
-       return 0;
-}
-
-
-
 /*-------------------------------------------------------------------------*/
 
 int mm_write_banner(FILE * f, MM_typecode matcode)
index 4b38ad6a0b23ad320faa0c6eec83be11040e3c34..454a441a360532dd39192dd478a095ddd8874add 100644 (file)
@@ -31,8 +31,6 @@ 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);
-int mm_write_mtx_array_size(FILE * f, int M, int N);
-
 
 /********************* MM_typecode query fucntions ***************************/