summaryrefslogtreecommitdiff
path: root/css/ruleset.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-28 10:39:53 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-05-28 10:39:53 +0000
commit243c1ba03f0b7031b0c8dce7036ae5b583f252c0 (patch)
tree48464a1d874bf593eecfbc6c191a838e244f40f6 /css/ruleset.c
parent89396e7d2a8c9832ef0d3507a7c5856b2d9229d7 (diff)
downloadnetsurf-243c1ba03f0b7031b0c8dce7036ae5b583f252c0.tar.gz
netsurf-243c1ba03f0b7031b0c8dce7036ae5b583f252c0.tar.bz2
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
Diffstat (limited to 'css/ruleset.c')
-rw-r--r--css/ruleset.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/css/ruleset.c b/css/ruleset.c
index 30d8c8ffd..5e67b6364 100644
--- a/css/ruleset.c
+++ b/css/ruleset.c
@@ -37,16 +37,15 @@
#include <strings.h>
#include <math.h>
#define CSS_INTERNALS
-#define NDEBUG
#include "css/css.h"
#include "content/content.h"
#include "desktop/options.h"
+#define NDEBUG
#include "utils/log.h"
+#undef NDEBUG
#include "utils/url.h"
#include "utils/utils.h"
-
-
static bool css_compare_selectors(const struct css_selector *n0,
const struct css_selector *n1);
static int parse_length(struct css_length * const length,