mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-09 05:54:47 +02:00
Remove unnecessary comparison, pointed out by Tiago Cunha.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user