From 5e90221dc68ae0893acd5c9b12d702269202558d Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Sat, 5 Aug 2017 17:12:41 -0700 Subject: [PATCH] DUMMYGetRec: Fix misleading indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/dummy_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dummy_driver.c b/src/dummy_driver.c index c093f77..d4ac869 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -180,7 +180,7 @@ DUMMYGetRec(ScrnInfoPtr pScrn) if (pScrn->driverPrivate == NULL) return FALSE; - return TRUE; + return TRUE; } static void