[vlc-commits] keystore: cosmetics
Hugo Beauzée-Luyssen
git at videolan.org
Mon Oct 30 17:11:48 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Oct 26 18:12:25 2017 +0200| [f3ebcaa76cd3b26b257da6f886ff18a65c35a5e9] | committer: Hugo Beauzée-Luyssen
keystore: cosmetics
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3ebcaa76cd3b26b257da6f886ff18a65c35a5e9
---
src/misc/keystore.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/misc/keystore.c b/src/misc/keystore.c
index 996d539b33..116849e042 100644
--- a/src/misc/keystore.c
+++ b/src/misc/keystore.c
@@ -194,12 +194,8 @@ is_credential_valid(vlc_credential *p_credential)
if (p_credential->psz_username && *p_credential->psz_username != '\0'
&& p_credential->psz_password)
return true;
- else
- {
- p_credential->psz_password = NULL;
- return false;
- }
-
+ p_credential->psz_password = NULL;
+ return false;
}
static bool
More information about the vlc-commits
mailing list