This is an automated email from the git hooks/post-receive script. b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository apps/xfce4-screensaver.
commit 9685cc368d33c8f95ae368d2661061a64248c2f5 Author: Sean Davis <smd.seanda...@gmail.com> Date: Thu Jun 6 23:01:41 2019 -0400 Fix CID 213280: Constant variable guards dead code --- src/test-passwd.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/test-passwd.c b/src/test-passwd.c index 18ad415..b093065 100644 --- a/src/test-passwd.c +++ b/src/test-passwd.c @@ -109,23 +109,17 @@ lock_initialization (char **nolock_reason) { to bring any other Mac program to the front, e.g., Terminal.) */ { - gboolean macos = FALSE; - #ifdef __APPLE__ /* Disable locking if *running* on Apple hardware, since we have no reliable way to determine whether the server is running on MacOS. Hopefully __APPLE__ means "MacOS" and not "Linux on Mac hardware" but I'm not really sure about that. */ - macos = TRUE; -#endif - - if (macos) { - if (nolock_reason) { - *nolock_reason = g_strdup ("Cannot lock securely on MacOS X"); - } - return FALSE; + if (nolock_reason) { + *nolock_reason = g_strdup ("Cannot lock securely on MacOS X"); } + return FALSE; +#endif } #endif /* NO_LOCKING */ -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits