diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-02-10 18:05:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-02-10 18:05:11 +0300 |
commit | ad77b52abcbd0daf0d1a3ad395983cb90beeb72a (patch) | |
tree | c9a9818af7dc91b848b740360e4394bb835f0628 /source | |
parent | b73c265974163b305a46fa5f66ab8e6532830b7f (diff) |
Correction to previous Clang strict warning commit
Need to only pop diagnostic if it was really pushed.
Pointed out by Aras Pranckevicius, thanks!
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/io/wavefront_obj/exporter/obj_export_io.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_io.hh b/source/blender/io/wavefront_obj/exporter/obj_export_io.hh index 7e5fe1ca526..1745169ff98 100644 --- a/source/blender/io/wavefront_obj/exporter/obj_export_io.hh +++ b/source/blender/io/wavefront_obj/exporter/obj_export_io.hh @@ -273,7 +273,7 @@ constexpr FormattingSyntax syntax_elem_to_formatting(const eMTLSyntaxElement key } } } -#if defined __GNUC__ +#if defined(__GNUC__) && !defined(__clang__) # pragma GCC diagnostic pop #endif |