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 e9bb594..a189885 100644
--- a/src/pdb.c
+++ b/src/pdb.c
@@ -372,7 +372,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;
- frameproc;
+ (void)frameproc; // Not used yet
print("FRAMEPROC SYMBOL\n");
} else if (rec->rectyp == S_OBJNAME) {
struct OBJNAMESYM* objname = (struct OBJNAMESYM*)cur_sym;
@@ -408,7 +408,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;
- compile;
+ (void)compile; // Not used yet
print("COMPILE2 SYMBOL\n");
} else if (rec->rectyp == S_SECTION) {
struct SECTIONSYM* section = (struct SECTIONSYM*)cur_sym;
@@ -418,14 +418,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;
- callsiteinfo;
+ (void)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;
- buildinfo;
+ (void)buildinfo; // Not used yet
print("BUILDINFO SYMBOL\n");
} else {
print("Unknown symbol kind %x\n", rec->rectyp);