mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 17:39:28 +02:00
This function is related to libreadline rl_pre_input_hook callback which is invoked as (not making use of any function return value): readline.c: (*rl_pre_input_hook) (); The general prototype for this function is: rltypedefs.h:typedef int rl_hook_func_t PARAMS((void)); So the resolution is to provide a known value as the return value, which resolves the concern. SonarCloud textio/txInput.c:550 non-void function does not return a value https://sonarcloud.io/project/issues?open=AZJB17NwNGfDNup0Rj5G&id=dlmiles_magic