]> git.lyx.org Git - features.git/blobdiff - src/support/docstring.C
Remove unused variable
[features.git] / src / support / docstring.C
index 3930146bc0dbdd9bfe97b543663c086cac14981e..7d41f2cabb6b08e7814f40a2f58eb5271f4af82d 100644 (file)
@@ -66,7 +66,6 @@ void utf8_to_ucs4(std::string const & utf8, docstring & ucs4)
                return;
 
        int maxoutsize = n * 4;
-       int cd = -1;
        // basic_string::data() is not recognized by some old gcc version
        // so we use &(ucs4[0]) instead.
        char * outbuf = (char *)(&(ucs4[0]));