summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-10-01 16:42:28 +0000
committersmatz <smatz@openttd.org>2010-10-01 16:42:28 +0000
commit77fe95f55270cf856cbd088182fd2ea617d48bf0 (patch)
tree815b5cf915f4510e7ba8e19dbcd9bc956e7cfe75 /src/economy.cpp
parent7f5f4950d7c1ffd09b1425263b202372c73c752e (diff)
downloadopenttd-77fe95f55270cf856cbd088182fd2ea617d48bf0.tar.xz
(svn r20860) -Cleanup: remove some unused functions and variables
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 6d5f99761..9c79d4423 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -71,22 +71,6 @@ static inline int32 BigMulS(const int32 a, const int32 b, const uint8 shift)
return (int32)((int64)a * (int64)b >> shift);
}
-/**
- * Multiply two unsigned integers and shift the results to right.
- *
- * This function multiplies two unsigned integers. The result is
- * shifted by the amount of shift to right.
- *
- * @param a The first unsigned integer
- * @param b The second unsigned integer
- * @param shift The amount to shift the value to right.
- * @return The shifted result
- */
-static inline uint32 BigMulSU(const uint32 a, const uint32 b, const uint8 shift)
-{
- return (uint32)((uint64)a * (uint64)b >> shift);
-}
-
typedef SmallVector<Industry *, 16> SmallIndustryList;
/**