Commit 4671c87b authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Removed some warnings on unused variables.

  Fixed a comparison of a plain char (signedness issue)
Admin:
  These were from NCBrowser 5.28 too - but got forgot in the last checkin :-(
  I've not tried using this library.


Version 0.48. Tagged as 'Unicode-0_48'
parent 0524cabb
/* (0.47)
/* (0.48)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.64.
*
*/
#define Module_MajorVersion_CMHG 0.47
#define Module_MajorVersion_CMHG 0.48
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 10 Jun 2002
#define Module_MajorVersion "0.47"
#define Module_Version 47
#define Module_MajorVersion "0.48"
#define Module_Version 48
#define Module_MinorVersion ""
#define Module_Date "10 Jun 2002"
......@@ -19,6 +19,6 @@
#define Module_ComponentName "Unicode"
#define Module_ComponentPath "RiscOS/Sources/Lib/Unicode"
#define Module_FullVersion "0.47"
#define Module_HelpVersion "0.47 (10 Jun 2002)"
#define Module_LibraryVersionInfo "0:47"
#define Module_FullVersion "0.48"
#define Module_HelpVersion "0.48 (10 Jun 2002)"
#define Module_LibraryVersionInfo "0:48"
......@@ -370,6 +370,7 @@ static void encoding_table_free(encoding_table t)
void encoding_initialise(void)
{
enc_table_list = NULL;
NOT_USED( version );
}
void encoding_tidyup(void)
......
......@@ -260,7 +260,7 @@ char *UTF8_next(const char *p)
/* check for single bytes character to avoid looking at the
* next byte which may not be in valid memory if not in a
* null-terminated string */
if (*p < 0xC0u)
if (*(unsigned char *)p < 0xC0u)
p++;
else
while ((*++p & 0xC0u) == 0x80u)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment