aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/util.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-11 01:00:05 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-11 01:00:05 -0700
commit871a8223794ebbf975944923dc47a75fabd147d3 (patch)
treeb8754f4d871829a3c7942619807ce8af8c633f07 /src/util.cpp
parentb9b6b6108e53e3b5ea09b78c334b16fa0e4ac8a9 (diff)
Remove some dead #defines
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 85b9d8d7..14cce1c7 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -29,24 +29,6 @@
#include "common.h"
#include "wutil.h"
-/**
- Minimum allocated size for data structures. Used to avoid excessive
- memory allocations for lists, hash tables, etc, which are nearly
- empty.
-*/
-#define MIN_SIZE 32
-
-/**
- Maximum number of characters that can be inserted using a single
- call to sb_printf. This is needed since vswprintf doesn't tell us
- what went wrong. We don't know if we ran out of space or something
- else went wrong. We assume that any error is an out of memory-error
- and try again until we reach this size. After this size has been
- reached, it is instead assumed that something was wrong with the
- format string.
-*/
-#define SB_MAX_SIZE (128*1024*1024)
-
int wcsfilecmp(const wchar_t *a, const wchar_t *b)
{
CHECK(a, 0);