Skip to contentSkip to conversation

tests/gen3_mixed_blits: Fix misleading indentation

PATCH New David Weinehall 1 participant 1 message Apr 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/gen3_mixed_blits: Fix misleading indentation

gcc-6 provides a neat new warning that can spot some cases of misleading indentation.
One such case was flagged in gen3_mixed_blits; this patch fixes it.

---
 tests/gen3_mixed_blits.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/gen3_mixed_blits.c +1 -1
index dce92b05a319..1159b4eb2e83 100644
@@ -520,7 +520,7 @@ int main(int argc, char **argv)
 		while (src == dst)
 			dst = random() % count;
 
-			copy(fd, handle[dst], tiling[dst], handle[src], tiling[src]);
+		copy(fd, handle[dst], tiling[dst], handle[src], tiling[src]);
 		start_val[dst] = start_val[src];
 	}
 	igt_info("verifying..."); fflush(stdout);
Signature · 6 lines
2.8.0.rc3

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx