diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 9b51662bc..6cf17aff8 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -10,7 +10,7 @@ jobs: run: shell: bash env: - NDK_VERSION: 25.0.8775105 + NDK_VERSION: 26.0.10792818 strategy: fail-fast: true matrix: diff --git a/src/symbolize.cc b/src/symbolize.cc index f95fccca4..82322914e 100644 --- a/src/symbolize.cc +++ b/src/symbolize.cc @@ -535,10 +535,8 @@ OpenObjectFileContainingPcAndGetStartAddress(uint64_t pc, // Iterate over maps and look for the map containing the pc. Then // look into the symbol tables inside. char buf[1024]; // Big enough for line of sane /proc/self/maps - unsigned num_maps = 0; LineReader reader(wrapped_maps_fd.get(), buf, sizeof(buf), 0); while (true) { - num_maps++; const char *cursor; const char *eol; if (!reader.ReadLine(&cursor, &eol)) { // EOF or malformed line.