Task #387 - fixed.err

back to task #387
download
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/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.