mirror of
https://github.com/X11Libre/xf86-video-dummy.git
synced 2026-03-23 17:19:31 +00:00
DUMMYGetRec: Fix misleading indentation
GCC's -Wmisleading-indentation complains about this
dummy_driver.c: In function ‘DUMMYGetRec’:
dummy_driver.c:181:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (pScrn->driverPrivate == NULL)
^~
dummy_driver.c:183:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
return TRUE;
^~~~~~
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
This commit is contained in:
@@ -180,7 +180,7 @@ DUMMYGetRec(ScrnInfoPtr pScrn)
|
||||
|
||||
if (pScrn->driverPrivate == NULL)
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user