summaryrefslogtreecommitdiff
path: root/src/bldg.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commit4fb8fb773d93efe1cdc812d1046c530c20098455 (patch)
tree6603e2925061e1150dac2f21b213c2f514510868 /src/bldg.cc
parent288c3d3f725eabfee06507966a0ba63bf587c3da (diff)
Remove dead code
Fixes a few compiler warnings.
Diffstat (limited to 'src/bldg.cc')
-rw-r--r--src/bldg.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bldg.cc b/src/bldg.cc
index ae64efaf..d465dbbe 100644
--- a/src/bldg.cc
+++ b/src/bldg.cc
@@ -1094,8 +1094,6 @@ bool_ bldg_process_command(const store_type *s_ptr, store_action_type const *ba_
bool_ paid = FALSE;
- bool_ set_reward = FALSE;
-
bool_ recreate = FALSE;
@@ -1129,8 +1127,6 @@ bool_ bldg_process_command(const store_type *s_ptr, store_action_type const *ba_
return FALSE;
}
- if (!bcost) set_reward = TRUE;
-
switch (bact)
{
case BACT_RESEARCH_ITEM: