mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof: avoid some GError creation
This commit is contained in:
@ -490,6 +490,7 @@ sysprof_elf_loader_load (SysprofElfLoader *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
failure:
|
failure:
|
||||||
|
if (error != NULL)
|
||||||
g_set_error_literal (error,
|
g_set_error_literal (error,
|
||||||
G_FILE_ERROR,
|
G_FILE_ERROR,
|
||||||
G_FILE_ERROR_NOENT,
|
G_FILE_ERROR_NOENT,
|
||||||
|
|||||||
Reference in New Issue
Block a user