mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
gcc: drop bogus ;
This commit is contained in:
parent
19e9c88faf
commit
b722ce2f10
@ -1945,7 +1945,7 @@ static int _lv_postorder_level(struct logical_volume *lv, void *data)
|
|||||||
{
|
{
|
||||||
struct _lv_postorder_baton *baton = data;
|
struct _lv_postorder_baton *baton = data;
|
||||||
return (data) ? _lv_postorder_visit(lv, baton->fn, baton->data) : 0;
|
return (data) ? _lv_postorder_visit(lv, baton->fn, baton->data) : 0;
|
||||||
};
|
}
|
||||||
|
|
||||||
static int _lv_postorder_visit(struct logical_volume *lv,
|
static int _lv_postorder_visit(struct logical_volume *lv,
|
||||||
int (*fn)(struct logical_volume *lv, void *data),
|
int (*fn)(struct logical_volume *lv, void *data),
|
||||||
|
@ -348,39 +348,39 @@ struct time_info {
|
|||||||
static int _is_time_num(time_id_t id)
|
static int _is_time_num(time_id_t id)
|
||||||
{
|
{
|
||||||
return ((id > TIME_NUM__START) && (id < TIME_NUM__END));
|
return ((id > TIME_NUM__START) && (id < TIME_NUM__END));
|
||||||
};
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
static int _is_time_frame(time_id_t id)
|
static int _is_time_frame(time_id_t id)
|
||||||
{
|
{
|
||||||
return ((id > TIME_FRAME__START) && (id < TIME_FRAME__END));
|
return ((id > TIME_FRAME__START) && (id < TIME_FRAME__END));
|
||||||
};
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int _is_time_label_date(time_id_t id)
|
static int _is_time_label_date(time_id_t id)
|
||||||
{
|
{
|
||||||
return ((id > TIME_LABEL_DATE__START) && (id < TIME_LABEL_DATE__END));
|
return ((id > TIME_LABEL_DATE__START) && (id < TIME_LABEL_DATE__END));
|
||||||
};
|
}
|
||||||
|
|
||||||
static int _is_time_label_time(time_id_t id)
|
static int _is_time_label_time(time_id_t id)
|
||||||
{
|
{
|
||||||
return ((id > TIME_LABEL_TIME__START) && (id < TIME_LABEL_TIME__END));
|
return ((id > TIME_LABEL_TIME__START) && (id < TIME_LABEL_TIME__END));
|
||||||
};
|
}
|
||||||
|
|
||||||
static int _is_time_unit(time_id_t id)
|
static int _is_time_unit(time_id_t id)
|
||||||
{
|
{
|
||||||
return ((id > TIME_UNIT__START) && (id < TIME_UNIT__END));
|
return ((id > TIME_UNIT__START) && (id < TIME_UNIT__END));
|
||||||
};
|
}
|
||||||
|
|
||||||
static int _is_time_weekday(time_id_t id)
|
static int _is_time_weekday(time_id_t id)
|
||||||
{
|
{
|
||||||
return ((id > TIME_WEEKDAY__START) && (id < TIME_WEEKDAY__END));
|
return ((id > TIME_WEEKDAY__START) && (id < TIME_WEEKDAY__END));
|
||||||
};
|
}
|
||||||
|
|
||||||
static int _is_time_month(time_id_t id)
|
static int _is_time_month(time_id_t id)
|
||||||
{
|
{
|
||||||
return ((id > TIME_MONTH__START) && (id < TIME_MONTH__END));
|
return ((id > TIME_MONTH__START) && (id < TIME_MONTH__END));
|
||||||
};
|
}
|
||||||
|
|
||||||
static const char *_skip_space(const char *s)
|
static const char *_skip_space(const char *s)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user