diff --git a/tools/reduce.cpp b/tools/reduce.cpp index fa5362d0d..7203fc50d 100644 --- a/tools/reduce.cpp +++ b/tools/reduce.cpp @@ -105,12 +105,14 @@ static bool test(const ReduceSettings &settings, const std::vector return test(settings, filedata, line, line); } +#ifdef GDB_HELPERS static void printstr(const std::vector &filedata, int i1, int i2) { std::cout << filedata.size(); for (int i = i1; i < i2; ++i) std::cout << i << ":" << filedata[i] << std::endl; } +#endif static std::vector readfile(const std::string &filename) {