diff options
author | Hubert Figuière <hub@figuiere.net> | 2022-02-14 15:09:06 -0500 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2022-02-14 15:09:06 -0500 |
commit | 7e3793ccad7d80f3ca43ca08be2057980711683a (patch) | |
tree | 3b41979d24953974283c2cd4fed246d970ac31f8 | |
parent | 2c8bafd2d6fa25ec067fa8f5c74159bc31c336e5 (diff) |
Compile with -Werror=misleading-indentation
-rw-r--r-- | XMPFiles/source/FormatSupport/META_Support.cpp | 4 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/XMPFiles/source/FormatSupport/META_Support.cpp b/XMPFiles/source/FormatSupport/META_Support.cpp index 8ef12cd..b2e69c3 100644 --- a/XMPFiles/source/FormatSupport/META_Support.cpp +++ b/XMPFiles/source/FormatSupport/META_Support.cpp @@ -154,9 +154,9 @@ XMP_Uns32 Meta_Manager::NewSubtreeSize(const BoxNode & node, const std::string & else subtreeSize = 8; - if (node.boxType == ISOMedia::k_uuid) + if (node.boxType == ISOMedia::k_uuid) { subtreeSize += 16; // id of uuid is 16 bytes long - + } for (size_t i = 0, limit = node.children.size(); i < limit; ++i) { diff --git a/configure.ac b/configure.ac index 9e8b942..681bc28 100644 --- a/configure.ac +++ b/configure.ac @@ -244,7 +244,7 @@ AX_APPEND_COMPILE_FLAGS([ \ dnl -Wformat-nonliteral \ -Wformat-security \ -Wlogical-not-parentheses \ - -Wmisleading-indentation \ + -Werror=misleading-indentation \ -Wmissing-noreturn \ -Woverloaded-virtual \ -Wpointer-arith \ |