mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
COMP: fix warnings
This commit is contained in:
@@ -7,6 +7,7 @@ See the file COPYING for copying permission.
|
||||
#define IS_INVALID_CHAR(enc, ptr, n) (0)
|
||||
#endif
|
||||
|
||||
#ifndef INVALID_LEAD_CASE
|
||||
#define INVALID_LEAD_CASE(n, ptr, nextTokPtr) \
|
||||
case BT_LEAD ## n: \
|
||||
if (end - ptr < n) \
|
||||
@@ -17,6 +18,7 @@ See the file COPYING for copying permission.
|
||||
} \
|
||||
ptr += n; \
|
||||
break;
|
||||
#endif
|
||||
|
||||
#define INVALID_CASES(ptr, nextTokPtr) \
|
||||
INVALID_LEAD_CASE(2, ptr, nextTokPtr) \
|
||||
|
||||
Reference in New Issue
Block a user