Revision: 41830
http://brlcad.svn.sourceforge.net/brlcad/?rev=41830&view=rev
Author: brlcad
Date: 2010-12-29 06:37:57 +0000 (Wed, 29 Dec 2010)
Log Message:
-----------
quell verbose warnings on linux
Modified Paths:
--------------
brlcad/trunk/src/libdm/dm-Null.c
brlcad/trunk/src/libdm/dm-X.c
Modified: brlcad/trunk/src/libdm/dm-Null.c
===================================================================
--- brlcad/trunk/src/libdm/dm-Null.c 2010-12-29 05:41:12 UTC (rev 41829)
+++ brlcad/trunk/src/libdm/dm-Null.c 2010-12-29 06:37:57 UTC (rev 41830)
@@ -94,6 +94,12 @@
}
+HIDDEN int
+Nu_getDisplayImage(struct dm *UNUSED(dmp), unsigned char **UNUSED(image))
+{
+ return 0;
+}
+
struct dm dm_Null = {
Nu_int0,
Nu_int0,
@@ -122,7 +128,7 @@
Nu_int0,
Nu_int0,
Nu_int0,
- Nu_int0, /* display to image function */
+ Nu_getDisplayImage, /* display to image function */
0,
0, /* no displaylist */
0, /* no stereo */
Modified: brlcad/trunk/src/libdm/dm-X.c
===================================================================
--- brlcad/trunk/src/libdm/dm-X.c 2010-12-29 05:41:12 UTC (rev 41829)
+++ brlcad/trunk/src/libdm/dm-X.c 2010-12-29 06:37:57 UTC (rev 41830)
@@ -1407,9 +1407,8 @@
int bytes_per_pixel;
int bytes_per_pixel_output = 3; /* limit for current bu_image raw pix
usage */
int bytes_per_line_output;
- int bits_per_channel = 8; /* bits per color channel */
int i, j, k;
- unsigned char *dbyte0, *dbyte1, *dbyte2, *dbyte3;
+ unsigned char *dbyte0, *dbyte1, *dbyte2;
int red_shift;
int green_shift;
int blue_shift;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits