# HG changeset patch # User voroshil # Date 1188411590 0 # Node ID c1d941c2d9a0199606686e6d73d1a9045573fc7e # Parent 7265900f19d975e7ba8a987b16d5b65d70815863 Small code simplification as suggested by Reimar: declare variables used only inside loop in those loop. Hope this will make code a bit easy to understand. diff -r 7265900f19d9 -r c1d941c2d9a0 stream/tvi_vbi.c --- a/stream/tvi_vbi.c Wed Aug 29 18:11:09 2007 +0000 +++ b/stream/tvi_vbi.c Wed Aug 29 18:19:50 2007 +0000 @@ -566,28 +566,20 @@ */ static void decode_page(tt_char* p,int lang,unsigned char* raw) { - int c,gfx=0,lat=0; - int i=0; - int fg_color=0; - int bg_color=0; int row,col; - int separated=0; - int conceal; - int hold; - tt_char tt_held; for(row=0;row