Task #753 - enchant2-2.6.7-1.fc40/scan-results.err

back to task #753
download
Error: CPPCHECK_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_hunspell.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c: scope_hint: In function 'voikko_dict_suggest'
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:73:42: warning[-Wcalloc-transposed-args]: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument
#   73 |         char **sugg_arr = calloc(sizeof (char *), *out_n_suggs + 1);
#      |                                          ^~~~
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:73:42: note: earlier argument should specify number of elements, later size of each element
#   71|   	for (*out_n_suggs = 0; voikko_sugg_arr[*out_n_suggs] != NULL; (*out_n_suggs)++);
#   72|   
#   73|-> 	char **sugg_arr = calloc(sizeof (char *), *out_n_suggs + 1);
#   74|   	if (sugg_arr == NULL)
#   75|   		return NULL;

Error: COMPILER_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c: scope_hint: In function 'voikko_provider_request_dict'
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:149:45: warning[-Wcalloc-transposed-args]: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument
#  149 |         EnchantDict *dict = calloc (sizeof (EnchantDict), 1);
#      |                                             ^~~~~~~~~~~
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:149:45: note: earlier argument should specify number of elements, later size of each element
#  147|   	}
#  148|   
#  149|-> 	EnchantDict *dict = calloc (sizeof (EnchantDict), 1);
#  150|   	if (dict == NULL)
#  151|   		return NULL;

Error: COMPILER_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c: scope_hint: In function 'init_enchant_provider'
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:182:53: warning[-Wcalloc-transposed-args]: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument
#  182 |         EnchantProvider *provider = calloc (sizeof (EnchantProvider), 1);
#      |                                                     ^~~~~~~~~~~~~~~
enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:182:53: note: earlier argument should specify number of elements, later size of each element
#  180|   init_enchant_provider (void)
#  181|   {
#  182|-> 	EnchantProvider *provider = calloc (sizeof (EnchantProvider), 1);
#  183|   	if (provider == NULL)
#  184|   		return NULL;

Error: CPPCHECK_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/src/enchant-lsmod.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/src/enchant.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/src/lib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING:
enchant2-2.6.7-build/enchant-2.6.7/src/pwl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.