magic/textio
Darryl L. Miles bfd818fbd3 textio/txInput.c non-void function does not return a value
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
2024-10-01 12:36:13 -04:00
..
Makefile Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
textio.h textio: add TxErrorV variant 2023-07-12 05:21:20 +09:00
textioInt.h quick and dirty emscripten port 2023-07-12 00:31:37 +09:00
txCommands.c textio/txCommands.c: Wrong type of arguments to formatting function 2024-10-01 12:36:12 -04:00
txInput.c textio/txInput.c non-void function does not return a value 2024-10-01 12:36:13 -04:00
txMain.c C99 code compat when configured with no TCL support 2022-10-29 06:07:46 +02:00
txMore.c Compatibility with C99 standard 2022-10-29 06:07:46 +02:00
txOutput.c textio: add missing TxErrorV call 2023-07-12 05:42:55 +09:00
txcommands.h Extended the "paint" and "erase" commands to accept an option 2023-07-08 17:34:00 -04:00