commit | a4736a3bdd3043600e110550cb53c437f4b75f8b | [log] [tgz] |
---|---|---|
author | Jayanth Othayoth <ojayanth@gmail.com> | Sun Jun 08 08:15:45 2025 -0500 |
committer | Jayanth Othayoth <ojayanth@gmail.com> | Wed Jun 18 01:17:36 2025 +0000 |
tree | 1a18bdda879da11bacee30594c75b74f549e468a | |
parent | b93d6ebef0b2628874aa7bf3b4464edbcead683f [diff] |
clang-tidy: Replace NULL with nullptr Change-Id: I2f530763dfa9d84fb2b8b479f5bfc3e18b23ecff Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/phosphor-regulators/test/validate-regulators-config_tests.cpp b/phosphor-regulators/test/validate-regulators-config_tests.cpp index 3bc52da..7e0cf20 100644 --- a/phosphor-regulators/test/validate-regulators-config_tests.cpp +++ b/phosphor-regulators/test/validate-regulators-config_tests.cpp
@@ -162,7 +162,7 @@ } while (!std::feof(pipe)) { - if (fgets(buffer, sizeof buffer, pipe) != NULL) + if (fgets(buffer, sizeof buffer, pipe) != nullptr) { result += buffer; }