devilhorns pushed a commit to branch master.
commit cf2eb65f9847f63f6a63b99313658ebd0720434c
Author: Chris Michael <[email protected]>
Date: Wed Jun 19 09:18:42 2013 +0100
Fix warning: 'len' may be used uninitialized in this function
Signed-off-by: Chris Michael <[email protected]>
---
src/bin/termptyesc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 5a65080..1398acd 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1138,7 +1138,7 @@ _handle_esc_dcs(Termpty *ty __UNUSED__, const
Eina_Unicode *c, const Eina_Unicod
{
const Eina_Unicode *cc, *be;
Eina_Unicode buf[4096], *b;
- int len;
+ int len = 0;
cc = c;
b = buf;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev