Skip to content

Commit 2c15c38

Browse files
committed
Fixed some typos, there are no functional changes intended
1 parent d7bf221 commit 2c15c38

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

test/cfg/std.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -519,16 +519,16 @@ void uninitvar_cosh(void)
519519

520520
void uninitvar_feraiseexcept(void)
521521
{
522-
int excepts;
522+
int expects;
523523
// cppcheck-suppress uninitvar
524-
(void)std::feraiseexcept(excepts);
524+
(void)std::feraiseexcept(expects);
525525
}
526526

527527
void uninitvar_fesetexceptflag(fexcept_t* flagp)
528528
{
529-
int excepts;
529+
int expects;
530530
// cppcheck-suppress uninitvar
531-
(void)std::fesetexceptflag(flagp, excepts);
531+
(void)std::fesetexceptflag(flagp, expects);
532532
}
533533

534534
void uninitvar_feclearexcept(void)
@@ -3223,13 +3223,13 @@ void nullPointer_fegetenv(void)
32233223
(void)std::fegetenv(0);
32243224
}
32253225

3226-
void nullPointer_fegetexceptflag(int excepts)
3226+
void nullPointer_fegetexceptflag(int expects)
32273227
{
32283228
fexcept_t* flagp = 0;
32293229
// cppcheck-suppress nullPointer
3230-
(void)std::fegetexceptflag(flagp,excepts);
3230+
(void)std::fegetexceptflag(flagp,expects);
32313231
// cppcheck-suppress nullPointer
3232-
(void)std::fegetexceptflag(0,excepts);
3232+
(void)std::fegetexceptflag(0,expects);
32333233
}
32343234

32353235
void nullPointer_feholdexcept(void)
@@ -3250,13 +3250,13 @@ void nullPointer_fesetenv(void)
32503250
(void)std::fesetenv(0);
32513251
}
32523252

3253-
void nullPointer_fesetexceptflag(int excepts)
3253+
void nullPointer_fesetexceptflag(int expects)
32543254
{
32553255
fexcept_t* flagp = 0;
32563256
// cppcheck-suppress nullPointer
3257-
(void)std::fesetexceptflag(flagp,excepts);
3257+
(void)std::fesetexceptflag(flagp,expects);
32583258
// cppcheck-suppress nullPointer
3259-
(void)std::fesetexceptflag(0,excepts);
3259+
(void)std::fesetexceptflag(0,expects);
32603260
}
32613261

32623262
void nullPointer_feupdateenv(void)

test/testunusedprivfunc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class TestUnusedPrivateFunction : public TestFixture {
7777

7878
TEST_CASE(multiFile);
7979
TEST_CASE(unknownBaseTemplate); // ticket #2580
80-
TEST_CASE(hierarchie_loop); // ticket 5590
80+
TEST_CASE(hierarchy_loop); // ticket 5590
8181

8282
TEST_CASE(staticVariable); //ticket #5566
8383

@@ -752,7 +752,7 @@ class TestUnusedPrivateFunction : public TestFixture {
752752
ASSERT_EQUALS("", errout.str());
753753
}
754754

755-
void hierarchie_loop() {
755+
void hierarchy_loop() {
756756
check("class InfiniteB : InfiniteA {\n"
757757
" class D {\n"
758758
" };\n"

0 commit comments

Comments
 (0)