mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Removing some warning lines.
This commit is contained in:
parent
4e0bd12967
commit
61bd398054
@ -66,8 +66,7 @@ static void close_cb(Fl_Widget*, void*) {
|
|||||||
|
|
||||||
static void save_as_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");
|
const char *p = fl_file_chooser(_("Save details to..."), "Text Files (*.txt)\tAll Files(*)", "dump.txt");
|
||||||
if(!p)
|
if(!p) return;
|
||||||
return;
|
|
||||||
|
|
||||||
/* so we can have EOL */
|
/* so we can have EOL */
|
||||||
txt_buf->append("\n");
|
txt_buf->append("\n");
|
||||||
@ -171,7 +170,6 @@ static void report_cb(Fl_Widget*, void*) {
|
|||||||
|
|
||||||
/* close it since we need the file name */
|
/* close it since we need the file name */
|
||||||
tmp.close();
|
tmp.close();
|
||||||
|
|
||||||
txt_buf->savefile(tmp.name());
|
txt_buf->savefile(tmp.name());
|
||||||
|
|
||||||
run_async("%s --gdb-dump %s", bug_tool.c_str(), tmp.name());
|
run_async("%s --gdb-dump %s", bug_tool.c_str(), tmp.name());
|
||||||
|
@ -82,16 +82,12 @@ bool gdb_output_generate(const char *path, TempFile &t, int pid) {
|
|||||||
core_path.printf("%s.%i", CORE_FILE, pid);
|
core_path.printf("%s.%i", CORE_FILE, pid);
|
||||||
if(file_test(core_path.c_str(), FILE_TEST_IS_REGULAR))
|
if(file_test(core_path.c_str(), FILE_TEST_IS_REGULAR))
|
||||||
core_found = true;
|
core_found = true;
|
||||||
else
|
|
||||||
E_WARNING(E_STRLOC ": Unable to find %s. Trying 'core'\n", core_path.c_str());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!core_found) {
|
if(!core_found) {
|
||||||
core_path = CORE_FILE;
|
core_path = CORE_FILE;
|
||||||
if(file_test(core_path.c_str(), FILE_TEST_IS_REGULAR))
|
if(file_test(core_path.c_str(), FILE_TEST_IS_REGULAR))
|
||||||
core_found = true;
|
core_found = true;
|
||||||
else
|
|
||||||
E_WARNING(E_STRLOC ": Unable to find core. Balling out\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!core_found) {
|
if(!core_found) {
|
||||||
|
Loading…
Reference in New Issue
Block a user