| 523 | } |
| 524 | |
| 525 | void nullPointer_std_fstream_open(std::fstream &fs, const std::string &strFileName, const char* filename, std::ios_base::openmode mode) |
| 526 | { |
| 527 | // cppcheck-suppress nullPointer |
| 528 | fs.open(nullptr, mode); |
| 529 | fs.open(filename, mode); |
| 530 | fs.open(strFileName, mode); |
| 531 | // cppcheck-suppress nullPointer |
| 532 | fs.open(nullptr); |
| 533 | fs.open(filename); |
| 534 | fs.open(strFileName); |
| 535 | } |
| 536 | |
| 537 | void nullPointer_std_ifstream_open(std::ifstream &is, const std::string &strFileName, const char* filename, std::ios_base::openmode mode) |
| 538 | { |