summaryrefslogtreecommitdiff
path: root/src/lib/ecore_ipc
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-12-02 14:47:43 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-12-02 16:28:31 +0100
commit12fccd1d3c51fb15a4a6d28b443573838f239dad (patch)
treed5c8e960dbf2f9212b7592b5faf208f57fb93ace /src/lib/ecore_ipc
parent3a68e9554ab9fe4591ce78903dbad10e0aa1fb4c (diff)
ecore_ipc: silence a maybe unitialized warning
I always got this during the build: lib/ecore_ipc/ecore_ipc.c:537:6: warning: ‘old_mask’ may be used uninitialized in this function [-Wmaybe-uninitialized] Looking at the code it really is a false positive. Gettign the mask is behind an if it is the same if condistion used before writing it. Anyway, silencing the warning here.
Diffstat (limited to 'src/lib/ecore_ipc')
-rw-r--r--src/lib/ecore_ipc/ecore_ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index 8b62435570..d0cfb7877c 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -449,7 +449,7 @@ ecore_ipc_server_add(Ecore_Ipc_Type type, const char *name, int port, const void
449 char *address = NULL; 449 char *address = NULL;
450 Eina_Error err; 450 Eina_Error err;
451#ifdef EFL_NET_SERVER_UNIX_CLASS 451#ifdef EFL_NET_SERVER_UNIX_CLASS
452 mode_t old_mask, new_mask = 0; 452 mode_t old_mask = 0, new_mask = 0;
453#endif 453#endif
454 454
455 EINA_SAFETY_ON_NULL_RETURN_VAL(name, NULL); 455 EINA_SAFETY_ON_NULL_RETURN_VAL(name, NULL);