]> git.lyx.org Git - features.git/commitdiff
remove unused variable
authorEdwin Leuven <e.leuven@gmail.com>
Thu, 13 Mar 2008 23:47:29 +0000 (23:47 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Thu, 13 Mar 2008 23:47:29 +0000 (23:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23714 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetInclude.cpp

index f50241795e12dc28adb24e761cabc82520eee6ad..6b5ba0477693300f8964ed636aee4fe0f09854ab 100644 (file)
@@ -252,7 +252,6 @@ void InsetInclude::doDispatch(Cursor & cur, FuncRequest & cmd)
                InsetCommandParams p(INCLUDE_CODE);
                InsetCommandMailer::string2params("include", to_utf8(cmd.argument()), p);
                if (!p.getCmdName().empty()) {
-                       Buffer const & buf = cur.buffer();
                        if (isListings(p)){
                                InsetListingsParams new_params(to_utf8(p["lstparams"]));
                                docstring const label_str = from_utf8(new_params.getParamValue("label"));