From 94d09faa9332ca48c0b958b088fbb9c6ca59bd7f Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 15 Mar 2015 18:36:31 +0000 Subject: [PATCH] Remove unneeded initialisation of fenv_t and fexcept_t. Though common, there is no requirement that fenv_t and fexcept_t are structure and integer types, respectively. fexcept_t is a structure on CloudABI. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@232329 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp b/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp index d46d91f87..fcf075a36 100644 --- a/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp +++ b/test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp @@ -60,8 +60,8 @@ int main() { - std::fenv_t fenv = {0}; - std::fexcept_t fex = 0; + std::fenv_t fenv; + std::fexcept_t fex; static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), "");