diff options
author | runge <runge> | 2006-12-28 17:57:10 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-28 17:57:10 +0000 |
commit | f9baaf1ee49e7889808b1f058a5f348a9cd5f027 (patch) | |
tree | 67b130f468967c942662f620950e188672d84e60 /x11vnc/scan.c | |
parent | 99a557d673ac4444532ac7025cb479a229ea7fb3 (diff) | |
download | libtdevnc-f9baaf1ee49e7889808b1f058a5f348a9cd5f027.tar.gz libtdevnc-f9baaf1ee49e7889808b1f058a5f348a9cd5f027.zip |
more compiler warnings cleanup.
Diffstat (limited to 'x11vnc/scan.c')
-rw-r--r-- | x11vnc/scan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/x11vnc/scan.c b/x11vnc/scan.c index 633917f..61706d7 100644 --- a/x11vnc/scan.c +++ b/x11vnc/scan.c @@ -547,6 +547,8 @@ static void hint_updates(void) { int x, y, i, n, ty, th, tx, tw; int hint_count = 0, in_run = 0; + hint.x = hint.y = hint.w = hint.h = 0; + for (y=0; y < ntiles_y; y++) { for (x=0; x < ntiles_x; x++) { n = x + y * ntiles_x; @@ -3069,7 +3071,6 @@ int scan_for_updates(int count_only) { /* scan with the initial y to the jitter value from scanlines: */ scan_in_progress = 1; tile_count = scan_display(scanlines[scan_count], 0); -//if (tile_count) fprintf(stderr, "XX tile_countA: %d\n", tile_count); SCAN_FATAL(tile_count); /* @@ -3132,14 +3133,12 @@ int scan_for_updates(int count_only) { cp = (NSCAN - scan_count) % NSCAN; tile_count = scan_display(scanlines[cp], 1); -//fprintf(stderr, "XX tile_countB: %d\n", tile_count); SCAN_FATAL(tile_count); if (tile_count >= (1 + frac2) * tile_count_old) { /* on a roll... do a 3rd scan */ cp = (NSCAN - scan_count + 7) % NSCAN; tile_count = scan_display(scanlines[cp], 1); -//fprintf(stderr, "XX tile_countC: %d\n", tile_count); SCAN_FATAL(tile_count); } } |