mirror of
https://github.com/RubyMetric/chsrc
synced 2025-09-08 07:34:42 +08:00
消除 warning
This commit is contained in:
parent
981a191de8
commit
43ff5c3fd1
2
lib/xy.h
2
lib/xy.h
@ -1033,6 +1033,8 @@ xy_dir_exist (const char *path)
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -33,13 +33,13 @@ chef_debug_target (Target_t *target)
|
||||
printf (" Inited?: %d\n", target->inited);
|
||||
|
||||
printf (" Sources: %p\n", target->sources);
|
||||
printf (" Sources Count: %lld\n", target->sources_n);
|
||||
printf (" Sources Count: %d\n", target->sources_n);
|
||||
|
||||
printf (" Chef: %p\n", target->chef);
|
||||
printf (" Cooks: %p\n", target->cooks);
|
||||
printf (" Cooks Count: %lld\n", target->cooks_n);
|
||||
printf (" Cooks Count: %d\n", target->cooks_n);
|
||||
printf (" Sauciers: %p\n", target->sauciers);
|
||||
printf (" Sauciers Count: %lld\n", target->sauciers_n);
|
||||
printf (" Sauciers Count: %d\n", target->sauciers_n);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -128,8 +128,8 @@ typedef struct Target_t
|
||||
void (*preludefn) (void);
|
||||
bool inited; /* 是否执行过了 preludefn() */
|
||||
|
||||
Source_t *sources;
|
||||
size_t sources_n;
|
||||
Source_t *sources;
|
||||
int sources_n;
|
||||
|
||||
|
||||
/* Features */
|
||||
@ -151,9 +151,9 @@ typedef struct Target_t
|
||||
|
||||
Contributor_t *chef; /* 该 recipe *当前*的总负责人 (可以任职也可以休职) */
|
||||
Contributor_t **cooks; /* 该 recipe 的主要作者 */
|
||||
size_t cooks_n;
|
||||
int cooks_n;
|
||||
Contributor_t **sauciers; /* 该 recipe 的次要贡献者 (除主要作者外的其他人) */
|
||||
size_t sauciers_n;
|
||||
int sauciers_n;
|
||||
}
|
||||
Target_t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user