summaryrefslogtreecommitdiffstats
path: root/src/pdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdb.c')
-rw-r--r--src/pdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pdb.c b/src/pdb.c
index 6960706..982a0d8 100644
--- a/src/pdb.c
+++ b/src/pdb.c
@@ -365,7 +365,7 @@ void open_pdb(const i8* pdb_path, struct module* module) {
print("END SYMBOL\n");
} else if (rec->rectyp == S_FRAMEPROC) {
struct FRAMEPROCSYM* frameproc = (struct FRAMEPROCSYM*)cur_sym;
- (void)frameproc; // Not used yet
+ UNUSED_VAR(frameproc); // Not used yet
print("FRAMEPROC SYMBOL\n");
} else if (rec->rectyp == S_OBJNAME) {
struct OBJNAMESYM* objname = (struct OBJNAMESYM*)cur_sym;
@@ -401,7 +401,7 @@ void open_pdb(const i8* pdb_path, struct module* module) {
print("REGREL32 SYMBOL %s\n", regrel->name);
} else if (rec->rectyp == S_COMPILE2) {
struct COMPILESYM* compile = (struct COMPILESYM*)cur_sym;
- (void)compile; // Not used yet
+ UNUSED_VAR(compile); // Not used yet
print("COMPILE2 SYMBOL\n");
} else if (rec->rectyp == S_SECTION) {
struct SECTIONSYM* section = (struct SECTIONSYM*)cur_sym;
@@ -411,14 +411,14 @@ void open_pdb(const i8* pdb_path, struct module* module) {
print("COFFGROUP SYMBOL %s\n", coff->name);
} else if (rec->rectyp == S_CALLSITEINFO) {
struct CALLSITEINFO* callsiteinfo = (struct CALLSITEINFO*)cur_sym;
- (void)callsiteinfo; // Not used yet
+ UNUSED_VAR(callsiteinfo); // Not used yet
print("CALLSITEINFO SYMBOL\n");
} else if (rec->rectyp == S_COMPILE3) {
struct COMPILESYM3* compile = (struct COMPILESYM3*)cur_sym;
print("COMPILE3 SYMBOL %s\n", compile->verSz);
} else if (rec->rectyp == S_BUILDINFO) {
struct BUILDINFOSYM* buildinfo = (struct BUILDINFOSYM*)cur_sym;
- (void)buildinfo; // Not used yet
+ UNUSED_VAR(buildinfo); // Not used yet
print("BUILDINFO SYMBOL\n");
} else {
print("Unknown symbol kind %x\n", rec->rectyp);