]> git.lyx.org Git - features.git/commitdiff
Fix MSVC warning
authorAbdelrazak Younes <younes@lyx.org>
Mon, 14 Jul 2008 05:19:39 +0000 (05:19 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 14 Jul 2008 05:19:39 +0000 (05:19 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25589 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetSpace.cpp

index 47082cfe2fb34bd648d59fa1bd3f1191bd7372c0..47dd66da6166091655f8cc6cefb28bd08303e0a0 100644 (file)
@@ -212,7 +212,6 @@ void InsetSpace::metrics(MetricsInfo & mi, Dimension & dim) const
                        break;
                case InsetSpaceParams::CUSTOM:
                case InsetSpaceParams::CUSTOM_PROTECTED: {
-                       int width = params_.length.inBP();
                        int minwidth = 4;
                        if (params_.length.inBP() < 0)
                                minwidth = 3 * arrow_size;