Also comment a fall-through case appropriately, so newer GCC
don't warn.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
#include "gclient.h"
#include "graph.h"
#include "gclient.h"
#include "graph.h"
static bool gfio_server_running;
static unsigned int gfio_graph_limit = 100;
static bool gfio_server_running;
static unsigned int gfio_graph_limit = 100;
switch (ge->state) {
default:
gfio_report_error(ge, "Bad client state: %u\n", ge->state);
switch (ge->state) {
default:
gfio_report_error(ge, "Bad client state: %u\n", ge->state);
- /* fall through to new state */
case GE_STATE_NEW:
connect_state = 1;
edit_state = 1;
case GE_STATE_NEW:
connect_state = 1;
edit_state = 1;
int handler_running;
GHashTable *ge_hash;
int handler_running;
GHashTable *ge_hash;
+};
+
+extern struct gui main_ui;