Skip to content

Commit 8a6ce07

Browse files
committed
Fix build, and clean up unused variables.
1 parent 593314d commit 8a6ce07

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/OutputContext.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
#include "OutputContext.h"
3737

38+
#include <algorithm>
3839
#include <string>
3940

4041
#include "globals.h"

src/OutputContextCm.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@
4242
#include "util.h"
4343

4444

45-
static struct {
46-
bool operator()(GamePtr a, GamePtr b) const { return a->name < b->name; }
47-
} cmp_game;
48-
4945
typedef struct output_context_cm output_context_cm_t;
5046

5147

src/update_romdb.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ bool update_romdb(bool force) {
138138
filename = make_unique_path(filename);
139139
}
140140
output = OutputContext::create(OutputContext::FORMAT_DB, filename, 0);
141-
auto new_db = dynamic_cast<OutputContextDb*>(output.get())->get_db();
141+
// auto new_db = dynamic_cast<OutputContextDb*>(output.get())->get_db();
142142

143143
size_t dat_idx = 0;
144144
for (const auto& dat : dats_to_use) {

0 commit comments

Comments
 (0)