]> granicus.if.org Git - graphviz/commitdiff
Janitor fixes
authorellson <devnull@localhost>
Sat, 10 Nov 2007 02:17:07 +0000 (02:17 +0000)
committerellson <devnull@localhost>
Sat, 10 Nov 2007 02:17:07 +0000 (02:17 +0000)
lib/gvc/gvdevice.c
plugin/core/gvrender_core_ps.c
tclpkg/gv/.cvsignore

index aef5b54aad4d0afb8c0b93ba24e88509c87d9557..acfe229ac4716abd652d4dacb231832d4ffcbc2c 100644 (file)
@@ -93,11 +93,13 @@ size_t gvdevice_write (GVJ_t * job, const unsigned char *s, unsigned int len)
                return 0;
            }
        }
-       strcpy(job->output_data + job->output_data_position, s);
+       strcpy(job->output_data + job->output_data_position, (char*)s);
         job->output_data_position += len;
+       return len;
     }
     else
        return fwrite(s, sizeof(char), len, job->output_file);
+    return 0;
 }
 
 static void auto_output_filename(GVJ_t *job)
index 1298c8ed62f18c5ad0516e5d32289029cee79406..187131df72554521a9900822921ce1bd9662aedc 100644 (file)
@@ -262,7 +262,6 @@ static void ps_set_color(GVJ_t *job, gvcolor_t *color)
 
 static void psgen_textpara(GVJ_t * job, pointf p, textpara_t * para)
 {
-    double adj;
     char *str;
 
     if (job->obj->pencolor.u.HSVA[3] < .5)
index 67169075d73f72f1eb8133a2b7b86abc47e4cfc2..30ac3395bd427e3e32b0b9ea7fa087238c9c2204 100644 (file)
@@ -22,6 +22,7 @@ swig.cmi
 swig.cmo
 swig.ml
 swig.mli
+META.gv
 gv.php
 gv.pm
 gv.py