mirror of
https://github.com/profanity-im/profanity.git
synced 2024-06-23 21:45:30 +00:00
gcc-12 detects redundant check against array of arrays as: src/plugins/python_api.c: In function ‘python_api_register_command’: src/plugins/python_api.c:199:31: error: the comparison will always evaluate as ‘true’ for the address of ‘c_arguments’ will never be NULL [-Werror=address] 199 | while (c_arguments[i] != NULL && c_arguments[i][0] != NULL) { | ^~ src/plugins/python_api.c:161:15: note: ‘c_arguments’ declared here 161 | char* c_arguments[args_len == 0 ? 0 : args_len + 1][2]; | ^~~~~~~~~~~ |
||
---|---|---|
.. | ||
api.c | ||
api.h | ||
autocompleters.c | ||
autocompleters.h | ||
c_api.c | ||
c_api.h | ||
c_plugins.c | ||
c_plugins.h | ||
callbacks.c | ||
callbacks.h | ||
disco.c | ||
disco.h | ||
plugins.c | ||
plugins.h | ||
profapi.c | ||
profapi.h | ||
python_api.c | ||
python_api.h | ||
python_plugins.c | ||
python_plugins.h | ||
settings.c | ||
settings.h | ||
themes.c | ||
themes.h |