mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Remove unnecessary comparison, pointed out by Tiago Cunha.
This commit is contained in:
		| @@ -344,8 +344,7 @@ cmd_string_expand_tilde(const char *s, size_t *p) | |||||||
| 			return (NULL); | 			return (NULL); | ||||||
| 		if ((pw = getpwnam(username)) != NULL) | 		if ((pw = getpwnam(username)) != NULL) | ||||||
| 			home = pw->pw_dir; | 			home = pw->pw_dir; | ||||||
| 		if (username != NULL) | 		xfree(username); | ||||||
| 			xfree(username); |  | ||||||
| 	} | 	} | ||||||
| 	if (home == NULL) | 	if (home == NULL) | ||||||
| 		return (NULL); | 		return (NULL); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nicholas Marriott
					Nicholas Marriott