Remove nonnullret deadcode: addstar.

This commit is contained in:
Eliseo Martínez
2015-01-23 14:16:42 +01:00
parent 2ad0ca9c76
commit c94863dec4
2 changed files with 1 additions and 6 deletions

View File

@@ -3505,8 +3505,6 @@ expand_cmdline (
/* add star to file name, or convert to regexp if not exp. files. */
xp->xp_pattern_len = (int)(str + col - xp->xp_pattern);
file_str = addstar(xp->xp_pattern, xp->xp_pattern_len, xp->xp_context);
if (file_str == NULL)
return EXPAND_UNSUCCESSFUL;
if (p_wic)
options += WILD_ICASE;