1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

cleanup: drop double const

Second const is unneeded.
Also always create whole array with MAX elements.
This commit is contained in:
Zdenek Kabelac 2015-05-27 15:46:41 +02:00
parent edbdbddfb6
commit ac6b355978

View File

@ -852,7 +852,7 @@ enum action_index {
ACTION_MAX /* keep at the end */
};
static const action_fn_t const actions[] = { [ACTION_DUMP] = action_dump };
static const action_fn_t actions[ACTION_MAX] = { [ACTION_DUMP] = action_dump };
static int _make_action(enum action_index idx, void *args)
{