1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00
profanity/src/plugins
Sergei Trofimovich a77a57a6a4 src/plugins/python_api.c: drop redundant NULL pointer check
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];
          |               ^~~~~~~~~~~
2021-11-18 22:29:11 +00:00
..
api.c Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
api.h Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
autocompleters.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
autocompleters.h Apply coding style 2020-07-07 14:18:57 +02:00
c_api.c Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
c_api.h Apply coding style 2020-07-07 14:18:57 +02:00
c_plugins.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
c_plugins.h Apply coding style 2020-07-07 14:18:57 +02:00
callbacks.c src/plugins/callbacks.c: drop redundant NULL pointer check 2021-11-18 22:27:20 +00:00
callbacks.h Apply coding style 2020-07-07 14:18:57 +02:00
disco.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
disco.h Apply coding style 2020-07-07 14:18:57 +02:00
plugins.c Declare counter var inside loop 2020-11-09 11:33:33 +01:00
plugins.h Apply coding style 2020-07-07 14:18:57 +02:00
profapi.c Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
profapi.h Add plugin get_barejid_from_roster function 2021-04-29 13:50:57 -04:00
python_api.c src/plugins/python_api.c: drop redundant NULL pointer check 2021-11-18 22:29:11 +00:00
python_api.h Apply coding style 2020-07-07 14:18:57 +02:00
python_plugins.c Apply coding style 2020-07-07 14:18:57 +02:00
python_plugins.h Apply coding style 2020-07-07 14:18:57 +02:00
settings.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
settings.h Apply coding style 2020-07-07 14:18:57 +02:00
themes.c Add config.h in files were it was missing 2021-03-26 19:54:22 +01:00
themes.h Apply coding style 2020-07-07 14:18:57 +02:00