From e206b16f734630fae3c047adba82c34444ad660b Mon Sep 17 00:00:00 2001 From: studyztp Date: Tue, 5 Sep 2023 18:25:33 -0700 Subject: [PATCH] sim:fixed some style issues Change-Id: I0832a8b68e802e9671b755d3a71fd9c8f17e1648 --- src/sim/fd_array.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/sim/fd_array.cc b/src/sim/fd_array.cc index 1ce46a1e33..ea58299587 100644 --- a/src/sim/fd_array.cc +++ b/src/sim/fd_array.cc @@ -422,14 +422,12 @@ FDArray::unserialize(CheckpointIn &cp, Process* process_ptr) { std::string path; - if (process_ptr) - { + if (process_ptr) { // Check if it is needed to redirect the app path to another host // path path = process_ptr->checkPathRedirect(this_ffd->getFileName()); } - else - { + else { path = this_ffd->getFileName(); }