fix compiler warnings in Xprint/ps/PsWindow.c
This commit is contained in:
parent
9fa73721f0
commit
1ac30947f4
|
@ -96,6 +96,7 @@ extern WindowPtr *WindowTable;
|
||||||
* placed on the screen's root window if the property was defined in
|
* placed on the screen's root window if the property was defined in
|
||||||
* the start-up configuration resource database.
|
* the start-up configuration resource database.
|
||||||
*/
|
*/
|
||||||
|
#if 0
|
||||||
static char *propStrings[] = {
|
static char *propStrings[] = {
|
||||||
DT_PRINT_JOB_HEADER,
|
DT_PRINT_JOB_HEADER,
|
||||||
DT_PRINT_JOB_TRAILER,
|
DT_PRINT_JOB_TRAILER,
|
||||||
|
@ -107,7 +108,7 @@ static char *propStrings[] = {
|
||||||
DT_PRINT_PAGE_COMMAND,
|
DT_PRINT_PAGE_COMMAND,
|
||||||
(char *)NULL
|
(char *)NULL
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PsCreateWindow - watch for the creation of the root window.
|
* PsCreateWindow - watch for the creation of the root window.
|
||||||
|
@ -222,7 +223,6 @@ PsPaintWindow(
|
||||||
RegionPtr pRegion,
|
RegionPtr pRegion,
|
||||||
int what)
|
int what)
|
||||||
{
|
{
|
||||||
int status;
|
|
||||||
WindowPtr pRoot;
|
WindowPtr pRoot;
|
||||||
|
|
||||||
#define FUNCTION 0
|
#define FUNCTION 0
|
||||||
|
|
Loading…
Reference in New Issue