Remove unused `std::string` variable to fix `-Wunused-variable` warning.

PiperOrigin-RevId: 1004755632
Change-Id: I0e3b4219264868f8d0a07d5ceddb08d3d7b88a6e
diff --git a/riscv/riscv_state.cc b/riscv/riscv_state.cc
index fd488c7..3fcf9fb 100644
--- a/riscv/riscv_state.cc
+++ b/riscv/riscv_state.cc
@@ -598,10 +598,6 @@
     if (res) return;
   }
 
-  std::string where = (inst != nullptr)
-                          ? absl::StrCat(absl::Hex(inst->address()))
-                          : "unknown location";
-
   ExceptionCode code;
   switch (privilege_mode()) {
     case PrivilegeMode::kUser: