summaryrefslogtreecommitdiff
path: root/test/charwidth.c
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2015-05-29 21:58:21 -0400
committerSteven G. Johnson <stevenj@mit.edu>2015-05-29 21:58:21 -0400
commit35ec8e32e7e9ccbc7bc12da6eec5b11e72a9e674 (patch)
tree4652dafe789ee6a8ac76154dad6a7d14c2778df1 /test/charwidth.c
parent7c14ef5f8371e463a01e0f1de971caa600384390 (diff)
parent6a229a6776b154b1906b6a1f282b72b38322e36b (diff)
downloadlibutf8proc-35ec8e32e7e9ccbc7bc12da6eec5b11e72a9e674.tar.gz
libutf8proc-35ec8e32e7e9ccbc7bc12da6eec5b11e72a9e674.tar.bz2
Merge pull request #35 from ScottPJones/spj/valid
Fix #34 handle 66 Unicode non-characters and surrogates correctly
Diffstat (limited to 'test/charwidth.c')
-rw-r--r--test/charwidth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/charwidth.c b/test/charwidth.c
index bdae9fa..28554a4 100644
--- a/test/charwidth.c
+++ b/test/charwidth.c
@@ -10,7 +10,7 @@ int my_isprint(int c) {
int main(int argc, char **argv)
{
- int prevc, c, error = 0;
+ int c, error = 0;
(void) argc; /* unused */
(void) argv; /* unused */