forked from Lainports/freebsd-ports
- Multiple minor patches to clean up the code and avoid compiler warnings
(in order to prevent possible errors with future versions of GCC or other
modern compilers)
Remark: graphics/urt is also included in the cad/brlcad distribution, and
has been factured out for the ports collection.
The submitter merged some cleanups for IRIX by Lee Butler in order
to prevent the mess of two diverging urt versions in the ports tree
(the one bundled with cad/brlcad and graphics/urt).
He also contributed serveral improvments himself.
PR: ports/78687
Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
Approved by: arved
20 lines
581 B
C
20 lines
581 B
C
--- tools/rlepatch.c.orig Thu Mar 10 21:17:33 2005
|
|
+++ tools/rlepatch.c Thu Mar 10 21:18:56 2005
|
|
@@ -46,7 +46,7 @@
|
|
rle_pixel ** im_rows, **patch_rows, ** outrows;
|
|
int stdin_used = 0;
|
|
int patches = 0, oflag = 0, i, y, c, xlen, width;
|
|
- int rle_cnt, rle_err;
|
|
+ int rle_cnt;
|
|
|
|
im_hdr = *rle_hdr_init( NULL );
|
|
out_hdr = *rle_hdr_init( NULL );
|
|
@@ -86,7 +86,7 @@
|
|
}
|
|
|
|
for ( rle_cnt = 0;
|
|
- (rle_err = rle_get_setup( &im_hdr )) == RLE_SUCCESS;
|
|
+ rle_get_setup( &im_hdr ) == RLE_SUCCESS;
|
|
rle_cnt++ )
|
|
{
|
|
/* Get the patch files set up */
|