From c203ab2e011df9f311e6b08a54004ef81fe34e86 Mon Sep 17 00:00:00 2001 From: Sooyoung Ha Date: Thu, 10 Jan 2013 01:11:48 +0900 Subject: [PATCH] fix build error on lib/libsms/sms_tool.c --- lib/libsms/sms_tool.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libsms/sms_tool.c b/lib/libsms/sms_tool.c index f7c2e7d..b3c2dd5 100644 --- a/lib/libsms/sms_tool.c +++ b/lib/libsms/sms_tool.c @@ -525,7 +525,6 @@ int MsgConvertGSM7bitToUTF8(unsigned char *pDestText, int maxLength, const unsi ucs2Length = MsgConvertGSM7bitToUCS2((unsigned char*)pUCS2Text, maxUCS2Length * sizeof(unsigned short), pSrcText, srcTextLen); if(ucs2Length < 0) { fprintf(stderr, "MsgConvertGSM7bitToUTF8: UCS2 to GSM7bit Failed as text length is 0\n"); - *rawdata_len = index; return ucs2Length; } memcpy(pDestText, pUCS2Text, ucs2Length); -- 2.7.4