Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston <[email protected]>
---
ucs2any.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ucs2any.c b/ucs2any.c
index a6e8fb6..cc60544 100644
--- a/ucs2any.c
+++ b/ucs2any.c
@@ -737,7 +737,6 @@ main(int argc, char *argv[])
if (p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) {
ucs = strtol(p+2, &endp, 16);
if (*endp == '\0') goto bad;
- p = endp;
} else
goto bad;
--
1.7.4.1
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel