]> git.lyx.org Git - lyx.git/commitdiff
Remove unused variable
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 30 Oct 2006 18:32:55 +0000 (18:32 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 30 Oct 2006 18:32:55 +0000 (18:32 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15624 a592a061-630c-0410-9148-cb99ea01b6c8

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]));