Skip to content

Commit fc40f81

Browse files
committed
a case of uninitialized variable
1 parent e4f9739 commit fc40f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_plugin.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3843,7 +3843,7 @@ static int test_plugin_options(MEM_ROOT *tmp_root, struct st_plugin_int *tmp,
38433843
&tmp->mem_root : &plugin_vars_mem_root;
38443844
st_mysql_sys_var **opt;
38453845
my_option *opts= NULL;
3846-
int error;
3846+
int error= 1;
38473847
struct st_bookmark *var;
38483848
uint len=0, count= EXTRA_OPTIONS;
38493849
st_ptr_backup *tmp_backup= 0;

0 commit comments

Comments
 (0)