Skip to content

Commit ed967d6

Browse files
committed
tools/nutconf/nutconf-cli.cpp: avoid "NULL" keyword in C++ code
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 4249687 commit ed967d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/nutconf/nutconf-cli.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3122,7 +3122,7 @@ static void scanSerialDevices(const NutConfOptions & options) {
31223122
*/
31233123
static int mainx(int argc, char * const argv[]) {
31243124
const char *prog = xbasename(argv[0]);
3125-
char *s = NULL;
3125+
char *s = nullptr;
31263126

31273127
// Get options
31283128
NutConfOptions options(argv, argc);

0 commit comments

Comments
 (0)