Skip to content

Commit

Permalink
Fix BuildBot Failure.
Browse files Browse the repository at this point in the history
In some slave like p8-xenial-bintar-debug we are using C90 standard
which does not allow declaration and code to be mixed.
  • Loading branch information
mariadb-SachinSetiya committed Apr 21, 2017
1 parent b0bae66 commit 85f53e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wsrep/wsrep_dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ static wsrep_status_t dummy_options_set(

static char* dummy_options_get (wsrep_t* w)
{
char * opt;
WSREP_DBUG_ENTER(w);
char * opt= WSREP_DUMMY(w)->options;
opt= WSREP_DUMMY(w)->options;
return opt ? strdup(opt) : NULL;
}

Expand Down

0 comments on commit 85f53e4

Please sign in to comment.