From c26621e67bf73217e776ba3155b277909e4e4c24 Mon Sep 17 00:00:00 2001 From: Reini Urban Date: Thu, 12 Dec 2024 22:40:44 +0100 Subject: [PATCH] fix dimassoc unit-test for DEBUGGING --- test/unit-testing/dimassoc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit-testing/dimassoc.c b/test/unit-testing/dimassoc.c index 937b845478..352451faaf 100644 --- a/test/unit-testing/dimassoc.c +++ b/test/unit-testing/dimassoc.c @@ -18,6 +18,7 @@ api_process (dwg_object *obj) // BITCODE_H intsectxrefobj; Dwg_Version_Type dwg_version = obj->parent->header.version; +#ifdef DEBUG_CLASSES dwg_obj_dimassoc *dimassoc = dwg_object_to_DIMASSOC (obj); if (obj->fixedtype == DWG_TYPE_UNKNOWN_OBJ) @@ -55,4 +56,5 @@ api_process (dwg_object *obj) CHK_SUBCLASS_TYPE (ref[i], DIMASSOC_Ref, has_lastpt_ref, B); CHK_SUBCLASS_3RD (ref[i], DIMASSOC_Ref, lastpt_ref); } +#endif }