diff options
author | midipix <writeonce@midipix.org> | 2016-05-11 11:23:03 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-11 11:23:03 -0400 |
commit | 90e9fb1df40eb79e14a4c5aadcd7a8c6e69e2206 (patch) | |
tree | 9e8f8275ff027e6826207cbd910e71ff50dde0ec /src | |
parent | 7a1449b75b15f02fd830f66cd2dc4e190c11ab92 (diff) | |
download | pemagine-90e9fb1df40eb79e14a4c5aadcd7a8c6e69e2206.tar.bz2 pemagine-90e9fb1df40eb79e14a4c5aadcd7a8c6e69e2206.tar.xz |
code maintenance: mark unused parameters.
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/pe_entry_point.c | 4 | ||||
-rw-r--r-- | src/meta/pe_get_symbol_name.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/pe_entry_point.c b/src/internal/pe_entry_point.c index e76f137..4650824 100644 --- a/src/internal/pe_entry_point.c +++ b/src/internal/pe_entry_point.c @@ -2,5 +2,9 @@ int __stdcall pe_entry_point(void * hinstance, uint32_t reason, void * reserved) { + (void)hinstance; + (void)reason; + (void)reserved; + return 1; } diff --git a/src/meta/pe_get_symbol_name.c b/src/meta/pe_get_symbol_name.c index c6f4a45..4fe48be 100644 --- a/src/meta/pe_get_symbol_name.c +++ b/src/meta/pe_get_symbol_name.c @@ -87,6 +87,9 @@ static int pe_enum_exports_callback( { struct pe_symbol_name_ctx * ctx; + (void)base; + (void)exp_hdr; + if (reason != PE_CALLBACK_REASON_ITEM) return 1; |