From f8a9cbf78a0ae2f1d571f773275cd6493fb1a4ea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 May 2020 12:20:48 +0300 Subject: Remove useless struct keyword --- src/fs/paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/paths.cpp') diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp index a639dacba..273dbd59f 100644 --- a/src/fs/paths.cpp +++ b/src/fs/paths.cpp @@ -264,7 +264,7 @@ std::string getHomePath() if (path == nullptr) { const uid_t uid = getuid(); - const struct passwd *const pw = getpwuid(uid); + const passwd *const pw = getpwuid(uid); if (pw != nullptr && pw->pw_dir != nullptr) { -- cgit v1.2.3-70-g09d2