ITS#8442 Fix uninitialized rs->sr_text in back-meta

This commit is contained in:
Hallvard Furuseth 2016-06-12 10:18:50 +02:00
parent fe81f1d490
commit 3e2f62ed0b

View File

@ -1648,8 +1648,9 @@ err_pr:;
if ( rs->sr_nentries == op->ors_slimit
|| META_BACK_ONERR_STOP( mi ) )
{
const char *save_text = rs->sr_text;
const char *save_text;
got_err:
save_text = rs->sr_text;
savepriv = op->o_private;
op->o_private = (void *)i;
rs->sr_text = candidates[ i ].sr_text;