mirror of
https://github.com/X11Libre/xf86-video-sis.git
synced 2026-03-24 01:25:01 +00:00
Suppress logical operation and parenthesis related compilation warnings
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
This commit is contained in:
@@ -759,7 +759,7 @@ SiS300LoadCursorImage(ScrnInfoPtr pScrn, UChar *src)
|
||||
}
|
||||
|
||||
if(pSiS->VBFlags & CRT2_ENABLE) {
|
||||
if((pSiS->UseHWARGBCursor) && (!pSiS->VBFlags & DISPTYPE_CRT1)) {
|
||||
if((pSiS->UseHWARGBCursor) && (!(pSiS->VBFlags & DISPTYPE_CRT1))) {
|
||||
status2 = sis301GetCursorStatus;
|
||||
sis301DisableHWCursor()
|
||||
SISWaitRetraceCRT2(pScrn);
|
||||
|
||||
@@ -523,7 +523,7 @@ SISSwitchCRT2Type(ScrnInfoPtr pScrn, ULong newvbflags, Bool quiet)
|
||||
}
|
||||
#endif
|
||||
|
||||
if((!(newvbflags & CRT2_ENABLE)) && (!newvbflags & DISPTYPE_CRT1)) {
|
||||
if((!(newvbflags & CRT2_ENABLE)) && (!(newvbflags & DISPTYPE_CRT1))) {
|
||||
if(!quiet) {
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||
"CRT2 can't be switched off while CRT1 is off\n");
|
||||
|
||||
Reference in New Issue
Block a user