Fixed some typos, there are no functional changes intended

This commit is contained in:
orbitcowboy 2020-12-05 08:00:31 +01:00
parent d7bf2213f7
commit 2c15c384d1
2 changed files with 12 additions and 12 deletions

View File

@ -519,16 +519,16 @@ void uninitvar_cosh(void)
void uninitvar_feraiseexcept(void)
{
int excepts;
int expects;
// cppcheck-suppress uninitvar
(void)std::feraiseexcept(excepts);
(void)std::feraiseexcept(expects);
}
void uninitvar_fesetexceptflag(fexcept_t* flagp)
{
int excepts;
int expects;
// cppcheck-suppress uninitvar
(void)std::fesetexceptflag(flagp, excepts);
(void)std::fesetexceptflag(flagp, expects);
}
void uninitvar_feclearexcept(void)
@ -3223,13 +3223,13 @@ void nullPointer_fegetenv(void)
(void)std::fegetenv(0);
}
void nullPointer_fegetexceptflag(int excepts)
void nullPointer_fegetexceptflag(int expects)
{
fexcept_t* flagp = 0;
// cppcheck-suppress nullPointer
(void)std::fegetexceptflag(flagp,excepts);
(void)std::fegetexceptflag(flagp,expects);
// cppcheck-suppress nullPointer
(void)std::fegetexceptflag(0,excepts);
(void)std::fegetexceptflag(0,expects);
}
void nullPointer_feholdexcept(void)
@ -3250,13 +3250,13 @@ void nullPointer_fesetenv(void)
(void)std::fesetenv(0);
}
void nullPointer_fesetexceptflag(int excepts)
void nullPointer_fesetexceptflag(int expects)
{
fexcept_t* flagp = 0;
// cppcheck-suppress nullPointer
(void)std::fesetexceptflag(flagp,excepts);
(void)std::fesetexceptflag(flagp,expects);
// cppcheck-suppress nullPointer
(void)std::fesetexceptflag(0,excepts);
(void)std::fesetexceptflag(0,expects);
}
void nullPointer_feupdateenv(void)

View File

@ -77,7 +77,7 @@ private:
TEST_CASE(multiFile);
TEST_CASE(unknownBaseTemplate); // ticket #2580
TEST_CASE(hierarchie_loop); // ticket 5590
TEST_CASE(hierarchy_loop); // ticket 5590
TEST_CASE(staticVariable); //ticket #5566
@ -752,7 +752,7 @@ private:
ASSERT_EQUALS("", errout.str());
}
void hierarchie_loop() {
void hierarchy_loop() {
check("class InfiniteB : InfiniteA {\n"
" class D {\n"
" };\n"