astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2018-01-19 23:26:28 +01:00
parent de7aa8f513
commit 0a70b8794c
1 changed files with 2 additions and 2 deletions

View File

@ -117,14 +117,14 @@ void resourceLeak_open1(void)
{
// cppcheck-suppress unreadVariable
int fd = open("file", O_RDWR | O_CREAT);
// cppcheck-suppress resourceLeak
// cppcheck-suppress resourceLeak
}
void resourceLeak_open2(void)
{
// cppcheck-suppress unreadVariable
int fd = open("file", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
// cppcheck-suppress resourceLeak
// cppcheck-suppress resourceLeak
}
void noleak(int x, int y, int z)