diff --git a/framework/tools/hdf_dbg/hdf_dbg.cpp b/framework/tools/hdf_dbg/hdf_dbg.cpp index 754dab7795a42e33b135ce552e0538679d15d997..a90308abdca8131b26f7eeee7837f3775a36a5c9 100644 --- a/framework/tools/hdf_dbg/hdf_dbg.cpp +++ b/framework/tools/hdf_dbg/hdf_dbg.cpp @@ -98,7 +98,7 @@ static void PrintHelp() static int StrToInt(std::string tempstr) { - int32_t num = 0; + int32_t num = GET_INFO_FUNC_NUMS; if (std::all_of(tempstr.begin(), tempstr.end(), ::isdigit)) { num = std::stoi(tempstr); }