summaryrefslogtreecommitdiffstats
path: root/libebl/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2016-01-09 22:09:48 +0100
committerMark Wielaard <[email protected]>2016-01-09 22:09:48 +0100
commitc5da7c9e08c2bdb6dba8e115dcc09ed51a07f0e4 (patch)
tree62f4e45536913902984bcfc64b37d67239407073 /libebl/ChangeLog
parent53e447113b60b56fb88109884749133d1b2e0d75 (diff)
libebl: Fix missing brackets around if statement body.
GCC6 [will have] a nice new warning that showed a real bug: elfutils/libebl/eblobjnote.c: In function ‘ebl_object_note’: elfutils/libebl/eblobjnote.c:135:5: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] switch (type) ^~~~~~ elfutils/libebl/eblobjnote.c:45:3: note: ...this ‘if’ clause, but it is not if (! ebl->object_note (name, type, descsz, desc)) ^~ And indeed, it should have been under the if, but wasn't because of missing brackets. Added brackets (and reindent). Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libebl/ChangeLog')
-rw-r--r--libebl/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog
index 312cf90d..aa3d6867 100644
--- a/libebl/ChangeLog
+++ b/libebl/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-09 Mark Wielaard <[email protected]>
+
+ * eblobjnote.c (ebl_object_note): Add brackets around if statement
+ body.
+
2015-12-18 Mark Wielaard <[email protected]>
* eblopenbackend.c (default_debugscn_p): Also match .zdebug sections.