diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2017-06-05 11:15:23 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-06-05 12:07:57 -0700 |
commit | e83914d4963d6d16e398cccc227f4046a8725886 (patch) | |
tree | cc10f5fe16e9fe967d6a5ba997dcfd7fd5d8a679 | |
parent | 3d46c390f7366ef6a8097b45fe025368a06dbe36 (diff) | |
download | efl-e83914d4963d6d16e398cccc227f4046a8725886.tar.gz |
eina: silence gcc warning.
Code is correct and won't lead to a case where size is > 0 and buffer
isn't set, but gcc can't see the relation between both variable.
-rw-r--r-- | src/lib/eina/eina_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_debug.c b/src/lib/eina/eina_debug.c index ae0ac0f3c9..f2abf62925 100644 --- a/src/lib/eina/eina_debug.c +++ b/src/lib/eina/eina_debug.c @@ -535,7 +535,7 @@ _monitor(void *_data) // impact the application specifically for (;session;) { - unsigned char *buffer; + unsigned char *buffer = NULL; int size; size = _packet_receive(session, &buffer); |