libAtoms / QUIP

libAtoms/QUIP molecular dynamics framework: https://libatoms.github.io
347 stars 121 forks source link

MAINT: Fix return type errors from macros #658

Closed HaoZeke closed 2 months ago

HaoZeke commented 2 months ago

Will raise an error with -Wreturn-types otherwise. Basically the preprocessor macros are used in functions without void, so return; is incorrect.

Closes #656.

jameskermode commented 2 months ago

Thanks!