Fixed some typos, there are no functional changes intended
This commit is contained in:
parent
d7bf2213f7
commit
2c15c384d1
|
@ -519,16 +519,16 @@ void uninitvar_cosh(void)
|
||||||
|
|
||||||
void uninitvar_feraiseexcept(void)
|
void uninitvar_feraiseexcept(void)
|
||||||
{
|
{
|
||||||
int excepts;
|
int expects;
|
||||||
// cppcheck-suppress uninitvar
|
// cppcheck-suppress uninitvar
|
||||||
(void)std::feraiseexcept(excepts);
|
(void)std::feraiseexcept(expects);
|
||||||
}
|
}
|
||||||
|
|
||||||
void uninitvar_fesetexceptflag(fexcept_t* flagp)
|
void uninitvar_fesetexceptflag(fexcept_t* flagp)
|
||||||
{
|
{
|
||||||
int excepts;
|
int expects;
|
||||||
// cppcheck-suppress uninitvar
|
// cppcheck-suppress uninitvar
|
||||||
(void)std::fesetexceptflag(flagp, excepts);
|
(void)std::fesetexceptflag(flagp, expects);
|
||||||
}
|
}
|
||||||
|
|
||||||
void uninitvar_feclearexcept(void)
|
void uninitvar_feclearexcept(void)
|
||||||
|
@ -3223,13 +3223,13 @@ void nullPointer_fegetenv(void)
|
||||||
(void)std::fegetenv(0);
|
(void)std::fegetenv(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nullPointer_fegetexceptflag(int excepts)
|
void nullPointer_fegetexceptflag(int expects)
|
||||||
{
|
{
|
||||||
fexcept_t* flagp = 0;
|
fexcept_t* flagp = 0;
|
||||||
// cppcheck-suppress nullPointer
|
// cppcheck-suppress nullPointer
|
||||||
(void)std::fegetexceptflag(flagp,excepts);
|
(void)std::fegetexceptflag(flagp,expects);
|
||||||
// cppcheck-suppress nullPointer
|
// cppcheck-suppress nullPointer
|
||||||
(void)std::fegetexceptflag(0,excepts);
|
(void)std::fegetexceptflag(0,expects);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nullPointer_feholdexcept(void)
|
void nullPointer_feholdexcept(void)
|
||||||
|
@ -3250,13 +3250,13 @@ void nullPointer_fesetenv(void)
|
||||||
(void)std::fesetenv(0);
|
(void)std::fesetenv(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nullPointer_fesetexceptflag(int excepts)
|
void nullPointer_fesetexceptflag(int expects)
|
||||||
{
|
{
|
||||||
fexcept_t* flagp = 0;
|
fexcept_t* flagp = 0;
|
||||||
// cppcheck-suppress nullPointer
|
// cppcheck-suppress nullPointer
|
||||||
(void)std::fesetexceptflag(flagp,excepts);
|
(void)std::fesetexceptflag(flagp,expects);
|
||||||
// cppcheck-suppress nullPointer
|
// cppcheck-suppress nullPointer
|
||||||
(void)std::fesetexceptflag(0,excepts);
|
(void)std::fesetexceptflag(0,expects);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nullPointer_feupdateenv(void)
|
void nullPointer_feupdateenv(void)
|
||||||
|
|
|
@ -77,7 +77,7 @@ private:
|
||||||
|
|
||||||
TEST_CASE(multiFile);
|
TEST_CASE(multiFile);
|
||||||
TEST_CASE(unknownBaseTemplate); // ticket #2580
|
TEST_CASE(unknownBaseTemplate); // ticket #2580
|
||||||
TEST_CASE(hierarchie_loop); // ticket 5590
|
TEST_CASE(hierarchy_loop); // ticket 5590
|
||||||
|
|
||||||
TEST_CASE(staticVariable); //ticket #5566
|
TEST_CASE(staticVariable); //ticket #5566
|
||||||
|
|
||||||
|
@ -752,7 +752,7 @@ private:
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void hierarchie_loop() {
|
void hierarchy_loop() {
|
||||||
check("class InfiniteB : InfiniteA {\n"
|
check("class InfiniteB : InfiniteA {\n"
|
||||||
" class D {\n"
|
" class D {\n"
|
||||||
" };\n"
|
" };\n"
|
||||||
|
|
Loading…
Reference in New Issue