summaryrefslogtreecommitdiff
path: root/desktop/unx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-05-05 01:22:16 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-05-05 01:22:16 +0900
commitde6e29578b97b799880de13882f1b60b3efdb600 (patch)
treece559b7edefe310604df4bdf7095b4f07a1fc293 /desktop/unx
parent771799c23ec2b132ac3dd6979485ee8fa30a5ce4 (diff)
removed dead code
Diffstat (limited to 'desktop/unx')
-rwxr-xr-xdesktop/unx/source/splashx.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 711671fe28d4..a8a87b0adbdf 100755
--- a/desktop/unx/source/splashx.c
+++ b/desktop/unx/source/splashx.c
@@ -144,18 +144,6 @@ int splash_load_bmp( const char *filename )
width = png_get_image_width( png_ptr, info_ptr );
height = png_get_image_height( png_ptr, info_ptr );
-#if 0
- {
- int i,j;
- for (j = 0; j < height; j++) {
- for (i = 0; i < width*3; i++) {
- fprintf (stderr, "%.2x", bitmap_rows[j][i]);
- }
- fprintf (stderr, "\n");
- }
- }
-#endif
-
return 1;
}
#else
@@ -173,8 +161,6 @@ int splash_load_bmp( const char *filename )
if ( read( fd, file_header, BMP_HEADER_LEN ) != BMP_HEADER_LEN || file_header[0] != 'B' || file_header[1] != 'M' )
LOAD_FAILURE( "Not a bitmap.\n" );
-/* int file_size = UINT32( file_header + 2 ); */
-
char info_header[ WIN_INFO_LEN ];
if ( read( fd, info_header, 4 ) != 4 )
LOAD_FAILURE( "Unable to read the header.\n" );
@@ -582,7 +568,6 @@ static void process_events()
{
num_events--;
XNextEvent( display, &xev );
- //process_event(xev);
}
}