bc092b9
From 68d54b55f49249c5e0517bf189f0f3df7ee6a36f Mon Sep 17 00:00:00 2001
bc092b9
From: Vladimir Serbinenko <phcoder@gmail.com>
bc092b9
Date: Mon, 10 Jul 2017 01:34:22 +0000
6f1e3d5
Subject: [PATCH 049/198] fdt: silence clang warning.
bc092b9
bc092b9
---
bc092b9
 grub-core/lib/fdt.c | 3 ++-
bc092b9
 1 file changed, 2 insertions(+), 1 deletion(-)
bc092b9
bc092b9
diff --git a/grub-core/lib/fdt.c b/grub-core/lib/fdt.c
bc092b9
index bdc630244..2705f2629 100644
bc092b9
--- a/grub-core/lib/fdt.c
bc092b9
+++ b/grub-core/lib/fdt.c
bc092b9
@@ -309,7 +309,8 @@ advance_token (const void *fdt, const grub_uint32_t *token, const grub_uint32_t
bc092b9
 	    continue;
bc092b9
 	  }
bc092b9
 	char *ptr;
bc092b9
-	for (ptr = (char *) (token + 1); *ptr && ptr < (char *) end; ptr++);
bc092b9
+	for (ptr = (char *) (token + 1); *ptr && ptr < (char *) end; ptr++)
bc092b9
+	  ;
bc092b9
         if (ptr >= (char *) end)
bc092b9
           return 0;
bc092b9
 	return token;
bc092b9
-- 
da63b36
2.14.3
bc092b9