* src/raster/ftraster.c (Draw_Sweep): No-fault return.

(Render_Single_Pass): Updated.
This commit is contained in:
Alexei Podtelezhnikov 2023-11-21 16:54:25 +00:00
parent d77dd24b41
commit c62027d910
1 changed files with 2 additions and 5 deletions

View File

@ -2232,7 +2232,7 @@
* *
*/ */
static Bool static void
Draw_Sweep( RAS_ARG ) Draw_Sweep( RAS_ARG )
{ {
Int min_Y, max_Y, dropouts; Int min_Y, max_Y, dropouts;
@ -2424,8 +2424,6 @@
} }
while ( ++y < y_turn ); while ( ++y < y_turn );
} }
return SUCCESS;
} }
@ -2578,8 +2576,7 @@
(char*)ras.maxBuff - (char*)ras.top )); (char*)ras.maxBuff - (char*)ras.top ));
if ( ras.fProfile ) if ( ras.fProfile )
if ( Draw_Sweep( RAS_VAR ) ) Draw_Sweep( RAS_VAR );
return ras.error;
if ( --band_top < 0 ) if ( --band_top < 0 )
break; break;