summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;