diff options
author | Dave Beckett <dave@dajobe.org> | 2011-08-27 19:00:40 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2011-08-27 19:00:40 -0700 |
commit | e8c91b463357b5a8e4cf464ab69b8c9b81d9400c (patch) | |
tree | d1478a56e33ba30679300b2d1f756449f55640a0 /src/raptor_rdfxml.c | |
parent | 1a9fe651c80204057437b70e207ea8170b084be8 (diff) | |
download | raptor-e8c91b463357b5a8e4cf464ab69b8c9b81d9400c.tar.gz |
Code style for comparing a possibly undefined macro to a value
Use:
#if defined(RAPTOR_DEBUG) && RAPTOR_DEBUG > N
rather than:
#if RAPTOR_DEBUG > N
Diffstat (limited to 'src/raptor_rdfxml.c')
-rw-r--r-- | src/raptor_rdfxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raptor_rdfxml.c b/src/raptor_rdfxml.c index caa34f81..882beab2 100644 --- a/src/raptor_rdfxml.c +++ b/src/raptor_rdfxml.c @@ -3183,7 +3183,7 @@ raptor_init_parser_rdfxml(raptor_world* world) } -#if RAPTOR_DEBUG > 1 +#if defined(RAPTOR_DEBUG) && RAPTOR_DEBUG > 1 void raptor_rdfxml_parser_stats_print(raptor_rdfxml_parser* rdf_xml_parser, FILE *stream) |