This time I actually made the sub-module's Makefile use the more strict
compilation flags.
-MY_CFLAGS=-Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -Wno-sign-compare
+MY_CFLAGS=-Wall -Wextra -Wmissing-prototypes
MY_LDFLAGS=-lreadline -lm
PROGRAMS=mnemon
MY_LDFLAGS=-lreadline -lm
PROGRAMS=mnemon
item_match_predicate_t *predicate,
void *closure)
{
item_match_predicate_t *predicate,
void *closure)
{
+ unsigned int i, num_items = 0;
if (predicate == NULL)
return bin->num_items;
if (predicate == NULL)
return bin->num_items;
const char *category_name,
int length)
{
const char *category_name,
int length)
{
- int i, last_score, max;
+ unsigned int i, max;
+ int last_score;
category_t *category = NULL;
bin_t *bin;
category_t *category = NULL;
bin_t *bin;
+ unsigned int num_items;
item_match_predicate_t *predicate = NULL;
void *closure = NULL;
item_in_category_closure_t item_in_category;
item_match_predicate_t *predicate = NULL;
void *closure = NULL;
item_in_category_closure_t item_in_category;
item_t *item;
category_t *category;
char *response;
item_t *item;
category_t *category;
char *response;
/* Count the number of items with negative scores. */
progress->unlearned = 0;
/* Count the number of items with negative scores. */
progress->unlearned = 0;