fix build error on lib/libsms/sms_tool.c
authorSooyoung Ha <yoosah.ha@samsung.com>
Wed, 9 Jan 2013 16:11:48 +0000 (01:11 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Wed, 9 Jan 2013 16:11:48 +0000 (01:11 +0900)
lib/libsms/sms_tool.c

index f7c2e7d..b3c2dd5 100644 (file)
@@ -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);