1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-19 18:58:47 +00:00

Remove unnecessary comparison, pointed out by Tiago Cunha.

This commit is contained in:
Nicholas Marriott 2010-01-31 18:47:03 +00:00
parent 383c682563
commit c29bfd2ff3

View File

@ -344,7 +344,6 @@ cmd_string_expand_tilde(const char *s, size_t *p)
return (NULL);
if ((pw = getpwnam(username)) != NULL)
home = pw->pw_dir;
if (username != NULL)
xfree(username);
}
if (home == NULL)