[PATCH] lib: fwts_klog: fix incorrect indentation, detected by gcc-6
Colin King
colin.king at canonical.com
Wed Jan 13 16:03:33 UTC 2016
From: Colin Ian King <colin.king at canonical.com>
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/lib/src/fwts_klog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/src/fwts_klog.c b/src/lib/src/fwts_klog.c
index 62bddfb..48a0e45 100644
--- a/src/lib/src/fwts_klog.c
+++ b/src/lib/src/fwts_klog.c
@@ -133,8 +133,8 @@ char *fwts_klog_remove_timestamp(char *text)
if (*ptr == '[')
while (*ptr && *ptr !=']')
ptr++;
- if (*ptr == ']')
- ptr+=2; /* Skip ] and trailing space */
+ if (*ptr == ']')
+ ptr+=2; /* Skip ] and trailing space */
return ptr;
}
--
2.7.0.rc3
More information about the fwts-devel
mailing list