Skip to content

Commit

Permalink
Replay: Change NULL to nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored and peterbarker committed Sep 20, 2024
1 parent 36dcadf commit 0e72fc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/Replay/MsgHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct MsgHandler::format_field_info *MsgHandler::find_field_info(const char *la
return &field_info[i];
}
}
return NULL;
return nullptr;
}

MsgHandler::MsgHandler(const struct log_Format &_f) : next_field(0), f(_f)
Expand Down Expand Up @@ -107,7 +107,7 @@ void MsgHandler::parse_format_fields()
bool MsgHandler::field_value(uint8_t *msg, const char *label, char *ret, uint8_t retlen)
{
struct format_field_info *info = find_field_info(label);
if (info == NULL) {
if (info == nullptr) {
::printf("No info for (%s)\n",label);
exit(1);
}
Expand Down

0 comments on commit 0e72fc7

Please sign in to comment.