Skip to content

Commit

Permalink
Avoid violating -Wpedantic
Browse files Browse the repository at this point in the history
This cleans up the GCC/Clang compiler warnings like:

    extra ‘;’ [-Wpedantic] }; // namespace StringUtils
  • Loading branch information
Steven Myint authored and LeStarch committed Feb 9, 2022
1 parent 72bc851 commit 9b33d1f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Fw/Types/StringUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ char* string_copy(char* destination, const char* source, U32 num);
*/
U32 string_length(const CHAR* source, U32 max_len);

}; // namespace StringUtils
}; // namespace Fw
} // namespace StringUtils
} // namespace Fw
#endif // FW_STRINGUTILS_HPP
2 changes: 1 addition & 1 deletion Os/Posix/TaskId.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

extern "C" {
#include <pthread.h>
};
}

#include <Os/TaskId.hpp>

Expand Down
2 changes: 1 addition & 1 deletion Os/TaskIdRepr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#if defined(TGT_OS_TYPE_LINUX) || defined(TGT_OS_TYPE_DARWIN)
extern "C" {
#include <pthread.h>
};
}
#endif

namespace Os {
Expand Down
2 changes: 1 addition & 1 deletion Svc/CmdSequencer/CmdSequencerImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,6 @@ namespace Svc {
bool m_join_waiting;
};

};
}

#endif

0 comments on commit 9b33d1f

Please sign in to comment.