From a280d0f2b9fb6fc95129a3620c31d2bf9eeb23db Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Mon, 8 Apr 2013 13:40:17 +0200 Subject: [PATCH] Fixed compiler warning for possible uninitialized ret --- library/ecp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ecp.c b/library/ecp.c index a76ce7062..2a6045fa8 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -191,7 +191,7 @@ int ecp_point_write_binary( const ecp_group *grp, const ecp_point *P, int format, size_t *olen, unsigned char *buf, size_t buflen ) { - int ret; + int ret = 0; size_t plen; if( format != POLARSSL_ECP_PF_UNCOMPRESSED &&