This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 3b5d760c673068821f89f566a69a4da1ef9c1556
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sun Mar 2 13:02:37 2025 +0000
ecore-x - handle if dpms is missing on display
yes - in some rare debug cases no dpms will be there which emans we
don't have default values. let's have some. was pretty harmless as
it's not a real life thing.
@fix
---
src/lib/ecore_x/ecore_x_dpms.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/ecore_x/ecore_x_dpms.c b/src/lib/ecore_x/ecore_x_dpms.c
index b55c1992f5..addd555c10 100644
--- a/src/lib/ecore_x/ecore_x_dpms.c
+++ b/src/lib/ecore_x/ecore_x_dpms.c
@@ -71,8 +71,8 @@ EAPI Eina_Bool
ecore_x_dpms_enabled_get(void)
{
#ifdef ECORE_XDPMS
- unsigned char state;
- unsigned short power_lvl;
+ unsigned char state = 0;
+ unsigned short power_lvl = 0;
LOGFN;
EINA_SAFETY_ON_NULL_RETURN_VAL(_ecore_x_disp, EINA_FALSE);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.