Code cleanup
This commit is contained in:
parent
4cda60c32c
commit
c38c9b0fd6
@ -145,8 +145,6 @@ static int _pe_init(FormatPlugin * format, char const * arch)
|
||||
|
||||
|
||||
/* pe_detect */
|
||||
static char const * _detect_error(FormatPlugin * format);
|
||||
|
||||
static char const * _pe_detect(FormatPlugin * format)
|
||||
{
|
||||
FormatPluginHelper * helper = format->helper;
|
||||
@ -166,13 +164,6 @@ static char const * _pe_detect(FormatPlugin * format)
|
||||
return _pe_get_arch(ph.machine);
|
||||
}
|
||||
|
||||
static char const * _detect_error(FormatPlugin * format)
|
||||
{
|
||||
error_set_code(1, "%s: %s", format->helper->get_filename(
|
||||
format->helper->format), strerror(errno));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/* pe_decode */
|
||||
static int _decode_error(FormatPlugin * format);
|
||||
|
Loading…
Reference in New Issue
Block a user