Fix clang issues

This commit is contained in:
Drew DeVault 2016-12-02 18:38:31 -05:00
parent 8577095db7
commit d2d6fcd1ff

View file

@ -60,7 +60,7 @@ struct cmd_results *cmd_ipc_cmd(int argc, char **argv) {
struct { struct {
char *name; char *name;
enum ipc_command_type type; enum ipc_feature type;
} types[] = { } types[] = {
{ "command", IPC_FEATURE_COMMAND }, { "command", IPC_FEATURE_COMMAND },
{ "workspaces", IPC_FEATURE_GET_WORKSPACES }, { "workspaces", IPC_FEATURE_GET_WORKSPACES },
@ -109,7 +109,7 @@ struct cmd_results *cmd_ipc_event_cmd(int argc, char **argv) {
struct { struct {
char *name; char *name;
enum ipc_command_type type; enum ipc_feature type;
} types[] = { } types[] = {
{ "workspace", IPC_FEATURE_EVENT_WORKSPACE }, { "workspace", IPC_FEATURE_EVENT_WORKSPACE },
{ "output", IPC_FEATURE_EVENT_OUTPUT }, { "output", IPC_FEATURE_EVENT_OUTPUT },