diff --git a/ede-bug-tools/ede-crasher/CrashDialog.cpp b/ede-bug-tools/ede-crasher/CrashDialog.cpp index 6284863..b3d1450 100644 --- a/ede-bug-tools/ede-crasher/CrashDialog.cpp +++ b/ede-bug-tools/ede-crasher/CrashDialog.cpp @@ -66,8 +66,7 @@ static void close_cb(Fl_Widget*, void*) { static void save_as_cb(Fl_Widget*, void*) { const char *p = fl_file_chooser(_("Save details to..."), "Text Files (*.txt)\tAll Files(*)", "dump.txt"); - if(!p) - return; + if(!p) return; /* so we can have EOL */ txt_buf->append("\n"); @@ -171,7 +170,6 @@ static void report_cb(Fl_Widget*, void*) { /* close it since we need the file name */ tmp.close(); - txt_buf->savefile(tmp.name()); run_async("%s --gdb-dump %s", bug_tool.c_str(), tmp.name()); diff --git a/ede-bug-tools/ede-crasher/GdbOutput.cpp b/ede-bug-tools/ede-crasher/GdbOutput.cpp index 858a922..616bb63 100644 --- a/ede-bug-tools/ede-crasher/GdbOutput.cpp +++ b/ede-bug-tools/ede-crasher/GdbOutput.cpp @@ -82,16 +82,12 @@ bool gdb_output_generate(const char *path, TempFile &t, int pid) { core_path.printf("%s.%i", CORE_FILE, pid); if(file_test(core_path.c_str(), FILE_TEST_IS_REGULAR)) core_found = true; - else - E_WARNING(E_STRLOC ": Unable to find %s. Trying 'core'\n", core_path.c_str()); } if(!core_found) { core_path = CORE_FILE; if(file_test(core_path.c_str(), FILE_TEST_IS_REGULAR)) core_found = true; - else - E_WARNING(E_STRLOC ": Unable to find core. Balling out\n"); } if(!core_found) {