Problem: Coverity warning for not restoring character.
Solution: Restore the character also in case of failure.
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 172,
/**/
171,
/**/
}
sv = NULL;
}
+ *arg = cc;
+ arg = skipwhite(arg);
imported = new_imported(gap != NULL ? gap
: &SCRIPT_ITEM(import_sid)->sn_imports);
if (imported == NULL)
return NULL;
- *arg = cc;
- arg = skipwhite(arg);
-
// TODO: check for "as" following
// imported->imp_name = vim_strnsave(as_ptr, as_len);
imported->imp_name = vim_strnsave(name, name_len);