star-3d

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

commit dcf25d151ef367319cb95cf0eba6259a30b49429
parent d3133c2c92c97a1627f6b36f7923b8c4feea14cf
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Tue, 12 Jan 2021 15:55:40 +0100

Fix a gcc warning

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

diff --git a/src/s3d_device.c b/src/s3d_device.c @@ -45,10 +45,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