mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 01:30:19 +00:00
Fix warnings
This commit is contained in:
@@ -246,11 +246,11 @@ expand_homedir (char *file)
|
||||
|
||||
if (file[0] == '~')
|
||||
{
|
||||
char *slash_pos;
|
||||
|
||||
if (file[1] == '\0' || file[1] == '/')
|
||||
return g_strconcat (g_get_home_dir (), &file[1], NULL);
|
||||
|
||||
char *slash_pos;
|
||||
|
||||
user = g_strdup(file);
|
||||
|
||||
slash_pos = strchr(user, '/');
|
||||
|
||||
Reference in New Issue
Block a user