summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-11 11:23:03 -0400
committermidipix <writeonce@midipix.org>2016-05-11 11:23:03 -0400
commit90e9fb1df40eb79e14a4c5aadcd7a8c6e69e2206 (patch)
tree9e8f8275ff027e6826207cbd910e71ff50dde0ec /src
parent7a1449b75b15f02fd830f66cd2dc4e190c11ab92 (diff)
downloadpemagine-90e9fb1df40eb79e14a4c5aadcd7a8c6e69e2206.tar.bz2
pemagine-90e9fb1df40eb79e14a4c5aadcd7a8c6e69e2206.tar.xz
code maintenance: mark unused parameters.
Diffstat (limited to 'src')
-rw-r--r--src/internal/pe_entry_point.c4
-rw-r--r--src/meta/pe_get_symbol_name.c3
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;