aboutsummaryrefslogtreecommitdiff
path: root/math/plplot/files/patch-util__plrender.c
blob: 0d47db22bf2720cd9c0b7879f97330d22790cc4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- utils/plrender.c.orig
+++ utils/plrender.c
@@ -834,7 +834,7 @@
     if ( code ) { fprintf( stderr,          \
                       "Unable to read in %s at line %d, bytecount %d\n\
 Bytes requested: %d\n", __FILE__, __LINE__, \
-                      (int) pdfs->bp, (int) 2 * n ); return -1; }
+                      (int) pdfs->bp, (int) 2 * n ); return; }
 
 static void
 get_ncoords( PLFLT *x, PLFLT *y, PLINT n )
@@ -869,7 +869,7 @@
         free( ys );
     }
 
-    return 0;
+    return;
 }
 
 //--------------------------------------------------------------------------