Changeset 31420 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Aug 5, 2010 5:41:45 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64485
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/utf-8.cpp
r31418 r31420 809 809 { 810 810 RTUNICP Cp; 811 size_t cchCp;812 811 int rc = RTLatin1GetCpNEx(&psz, &cchIn, &Cp); 813 812 if (Cp == 0 || rc == VERR_END_OF_STRING) … … 836 835 static int rtLatin1RecodeAsUtf8(const char *pszIn, size_t cchIn, char *psz, size_t cch) 837 836 { 838 int rc = VINF_SUCCESS;837 int rc; 839 838 for (;;) 840 839 { … … 1029 1028 static int rtUtf8RecodeAsLatin1(const char *pszIn, size_t cchIn, char *psz, size_t cch) 1030 1029 { 1031 int rc = VINF_SUCCESS; 1032 1030 int rc; 1033 1031 for (;;) 1034 1032 {
Note:
See TracChangeset
for help on using the changeset viewer.