star-2d

Contour structuring for efficient 2D geometric queries
git clone git://git.meso-star.fr/star-2d.git
Log | Files | Refs | README | LICENSE

commit a3a432d64ee51109e30f871a2c6b9ba38572dbee
parent c7d9e8a3d80d7b944aaded0c7508bd0d5064267d
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Tue, 12 Jan 2021 15:46:13 +0100

Fix gcc warning

Diffstat:
Msrc/s2d_device.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/s2d_device.c b/src/s2d_device.c @@ -39,10 +39,8 @@ static INLINE void rtc_error_func(void* context, enum RTCError err, const char* str) { - char msg[128]; - (void)str, (void)err, (void)context; - snprintf(msg, sizeof(msg), "Embree:error: %s\n", rtc_error_string(err)); - FATAL(msg); + (void)str, (void)context; + VFATAL("Embree:error: %s\n", ARG1(rtc_error_string(err))); } static INLINE void